<!DOCTYPE html>

<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">

<title>class String - Rails Framework Documentation</title>

<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">

<script type="text/javascript">
  var rdoc_rel_prefix = "./";
</script>

<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>


<body id="top" class="class">
<nav id="metadata">
  <nav id="home-section" class="section">
  <h3 class="section-header">
    <a href="./index.html">Home</a>
    <a href="./table_of_contents.html#classes">Classes</a>
    <a href="./table_of_contents.html#methods">Methods</a>
  </h3>
</nav>


  <nav id="search-section" class="section project-section" class="initially-hidden">
  <form action="#" method="get" accept-charset="utf-8">
    <h3 class="section-header">
      <input type="text" name="search" placeholder="Search" id="search-field"
             title="Type to search, Up and Down to navigate, Enter to load">
    </h3>
  </form>

  <ul id="search-results" class="initially-hidden"></ul>
</nav>


  <div id="file-metadata">
    <nav id="file-list-section" class="section">
  <h3 class="section-header">Defined In</h3>
  <ul>
    <li>/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/json/encoding.rb
    <li>/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/encoding.rb
    <li>/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/strip.rb
    <li>/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/xchar.rb
    <li>/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/output_safety.rb
    <li>/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/exclude.rb
    <li>/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/multibyte.rb
    <li>/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/conversions.rb
    <li>/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/behavior.rb
    <li>/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/starts_ends_with.rb
    <li>/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/inflections.rb
    <li>/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/access.rb
    <li>/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/inquiry.rb
    <li>/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/filters.rb
    <li>/usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/object/blank.rb
  </ul>
</nav>

    
  </div>

  <div id="class-metadata">
    
    <nav id="parent-class-section" class="section">
  <h3 class="section-header">Parent</h3>
  
  <p class="link"><a href="Object.html">Object</a>
  
</nav>

    
    <!-- Method Quickref -->
<nav id="method-list-section" class="section">
  <h3 class="section-header">Methods</h3>

  <ul class="link-list">
    
    <li><a href="#method-i-acts_like_string-3F">#acts_like_string?</a>
    
    <li><a href="#method-i-as_json">#as_json</a>
    
    <li><a href="#method-i-at">#at</a>
    
    <li><a href="#method-i-blank-3F">#blank?</a>
    
    <li><a href="#method-i-camelcase">#camelcase</a>
    
    <li><a href="#method-i-camelize">#camelize</a>
    
    <li><a href="#method-i-classify">#classify</a>
    
    <li><a href="#method-i-constantize">#constantize</a>
    
    <li><a href="#method-i-dasherize">#dasherize</a>
    
    <li><a href="#method-i-deconstantize">#deconstantize</a>
    
    <li><a href="#method-i-demodulize">#demodulize</a>
    
    <li><a href="#method-i-encode_json">#encode_json</a>
    
    <li><a href="#method-i-encoding_aware-3F">#encoding_aware?</a>
    
    <li><a href="#method-i-exclude-3F">#exclude?</a>
    
    <li><a href="#method-i-first">#first</a>
    
    <li><a href="#method-i-foreign_key">#foreign_key</a>
    
    <li><a href="#method-i-from">#from</a>
    
    <li><a href="#method-i-html_safe">#html_safe</a>
    
    <li><a href="#method-i-humanize">#humanize</a>
    
    <li><a href="#method-i-inquiry">#inquiry</a>
    
    <li><a href="#method-i-is_utf8-3F">#is_utf8?</a>
    
    <li><a href="#method-i-last">#last</a>
    
    <li><a href="#method-i-mb_chars">#mb_chars</a>
    
    <li><a href="#method-i-ord">#ord</a>
    
    <li><a href="#method-i-parameterize">#parameterize</a>
    
    <li><a href="#method-i-pluralize">#pluralize</a>
    
    <li><a href="#method-i-safe_constantize">#safe_constantize</a>
    
    <li><a href="#method-i-singularize">#singularize</a>
    
    <li><a href="#method-i-squish">#squish</a>
    
    <li><a href="#method-i-squish-21">#squish!</a>
    
    <li><a href="#method-i-strip_heredoc">#strip_heredoc</a>
    
    <li><a href="#method-i-tableize">#tableize</a>
    
    <li><a href="#method-i-titlecase">#titlecase</a>
    
    <li><a href="#method-i-titleize">#titleize</a>
    
    <li><a href="#method-i-to">#to</a>
    
    <li><a href="#method-i-to_date">#to_date</a>
    
    <li><a href="#method-i-to_datetime">#to_datetime</a>
    
    <li><a href="#method-i-to_time">#to_time</a>
    
    <li><a href="#method-i-truncate">#truncate</a>
    
    <li><a href="#method-i-underscore">#underscore</a>
    
  </ul>
</nav>

  </div>

  <div id="project-metadata">
    <nav id="fileindex-section" class="section project-section">
  <h3 class="section-header">Pages</h3>

  <ul>
  
    <li class="file"><a href=".//usr/local/lib/ruby/gems/1_9_1/gems/actionmailer-3_2_7/MIT-LICENSE.html">MIT-LICENSE</a>
  
    <li class="file"><a href=".//usr/local/lib/ruby/gems/1_9_1/gems/actionmailer-3_2_7/README_rdoc.html">README</a>
  
    <li class="file"><a href=".//usr/local/lib/ruby/gems/1_9_1/gems/actionpack-3_2_7/MIT-LICENSE.html">MIT-LICENSE</a>
  
    <li class="file"><a href=".//usr/local/lib/ruby/gems/1_9_1/gems/actionpack-3_2_7/README_rdoc.html">README</a>
  
    <li class="file"><a href=".//usr/local/lib/ruby/gems/1_9_1/gems/activemodel-3_2_7/MIT-LICENSE.html">MIT-LICENSE</a>
  
    <li class="file"><a href=".//usr/local/lib/ruby/gems/1_9_1/gems/activemodel-3_2_7/README_rdoc.html">README</a>
  
    <li class="file"><a href=".//usr/local/lib/ruby/gems/1_9_1/gems/activerecord-3_2_7/README_rdoc.html">README</a>
  
    <li class="file"><a href=".//usr/local/lib/ruby/gems/1_9_1/gems/activeresource-3_2_7/README_rdoc.html">README</a>
  
    <li class="file"><a href=".//usr/local/lib/ruby/gems/1_9_1/gems/activesupport-3_2_7/README_rdoc.html">README</a>
  
    <li class="file"><a href=".//usr/local/lib/ruby/gems/1_9_1/gems/railties-3_2_7/README_rdoc.html">README</a>
  
    <li class="file"><a href="./README_rdoc.html">README</a>
  
  </ul>
</nav>

    <nav id="classindex-section" class="section project-section">
  <h3 class="section-header">Class and Module Index</h3>

  <ul class="link-list">
  
    <li><a href="./ActiveRecord.html">ActiveRecord</a>
  
    <li><a href="./ActiveRecord/ActiveRecordError.html">ActiveRecord::ActiveRecordError</a>
  
    <li><a href="./ActiveRecord/AdapterNotFound.html">ActiveRecord::AdapterNotFound</a>
  
    <li><a href="./ActiveRecord/AdapterNotSpecified.html">ActiveRecord::AdapterNotSpecified</a>
  
    <li><a href="./ActiveRecord/Aggregations.html">ActiveRecord::Aggregations</a>
  
    <li><a href="./ActiveRecord/Aggregations/ClassMethods.html">ActiveRecord::Aggregations::ClassMethods</a>
  
    <li><a href="./ActiveRecord/AssociationTypeMismatch.html">ActiveRecord::AssociationTypeMismatch</a>
  
    <li><a href="./ActiveRecord/Associations.html">ActiveRecord::Associations</a>
  
    <li><a href="./ActiveRecord/Associations/ClassMethods.html">ActiveRecord::Associations::ClassMethods</a>
  
    <li><a href="./ActiveRecord/AttributeAssignment.html">ActiveRecord::AttributeAssignment</a>
  
    <li><a href="./ActiveRecord/AttributeAssignment/ClassMethods.html">ActiveRecord::AttributeAssignment::ClassMethods</a>
  
    <li><a href="./ActiveRecord/AttributeAssignmentError.html">ActiveRecord::AttributeAssignmentError</a>
  
    <li><a href="./ActiveRecord/AttributeMethods.html">ActiveRecord::AttributeMethods</a>
  
    <li><a href="./ActiveRecord/AttributeMethods/BeforeTypeCast.html">ActiveRecord::AttributeMethods::BeforeTypeCast</a>
  
    <li><a href="./ActiveRecord/AttributeMethods/ClassMethods.html">ActiveRecord::AttributeMethods::ClassMethods</a>
  
    <li><a href="./ActiveRecord/AttributeMethods/DeprecatedUnderscoreRead.html">ActiveRecord::AttributeMethods::DeprecatedUnderscoreRead</a>
  
    <li><a href="./ActiveRecord/AttributeMethods/DeprecatedUnderscoreRead/ClassMethods.html">ActiveRecord::AttributeMethods::DeprecatedUnderscoreRead::ClassMethods</a>
  
    <li><a href="./ActiveRecord/AttributeMethods/Dirty.html">ActiveRecord::AttributeMethods::Dirty</a>
  
    <li><a href="./ActiveRecord/AttributeMethods/PrimaryKey.html">ActiveRecord::AttributeMethods::PrimaryKey</a>
  
    <li><a href="./ActiveRecord/AttributeMethods/PrimaryKey/ClassMethods.html">ActiveRecord::AttributeMethods::PrimaryKey::ClassMethods</a>
  
    <li><a href="./ActiveRecord/AttributeMethods/Query.html">ActiveRecord::AttributeMethods::Query</a>
  
    <li><a href="./ActiveRecord/AttributeMethods/Read.html">ActiveRecord::AttributeMethods::Read</a>
  
    <li><a href="./ActiveRecord/AttributeMethods/Read/ClassMethods.html">ActiveRecord::AttributeMethods::Read::ClassMethods</a>
  
    <li><a href="./ActiveRecord/AttributeMethods/Serialization.html">ActiveRecord::AttributeMethods::Serialization</a>
  
    <li><a href="./ActiveRecord/AttributeMethods/Serialization/Attribute.html">ActiveRecord::AttributeMethods::Serialization::Attribute</a>
  
    <li><a href="./ActiveRecord/AttributeMethods/Serialization/ClassMethods.html">ActiveRecord::AttributeMethods::Serialization::ClassMethods</a>
  
    <li><a href="./ActiveRecord/AttributeMethods/TimeZoneConversion.html">ActiveRecord::AttributeMethods::TimeZoneConversion</a>
  
    <li><a href="./ActiveRecord/AttributeMethods/TimeZoneConversion/ClassMethods.html">ActiveRecord::AttributeMethods::TimeZoneConversion::ClassMethods</a>
  
    <li><a href="./ActiveRecord/AttributeMethods/Write.html">ActiveRecord::AttributeMethods::Write</a>
  
    <li><a href="./ActiveRecord/AttributeMethods/Write/ClassMethods.html">ActiveRecord::AttributeMethods::Write::ClassMethods</a>
  
    <li><a href="./ActiveRecord/AutosaveAssociation.html">ActiveRecord::AutosaveAssociation</a>
  
    <li><a href="./ActiveRecord/AutosaveAssociation/ClassMethods.html">ActiveRecord::AutosaveAssociation::ClassMethods</a>
  
    <li><a href="./ActiveRecord/Base.html">ActiveRecord::Base</a>
  
    <li><a href="./ActiveRecord/Batches.html">ActiveRecord::Batches</a>
  
    <li><a href="./ActiveRecord/Calculations.html">ActiveRecord::Calculations</a>
  
    <li><a href="./ActiveRecord/Callbacks.html">ActiveRecord::Callbacks</a>
  
    <li><a href="./ActiveRecord/ConfigurationError.html">ActiveRecord::ConfigurationError</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/AbstractAdapter.html">ActiveRecord::ConnectionAdapters::AbstractAdapter</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/AbstractMysqlAdapter.html">ActiveRecord::ConnectionAdapters::AbstractMysqlAdapter</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/ConnectionHandler.html">ActiveRecord::ConnectionAdapters::ConnectionHandler</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/ConnectionManagement.html">ActiveRecord::ConnectionAdapters::ConnectionManagement</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/ConnectionPool.html">ActiveRecord::ConnectionAdapters::ConnectionPool</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/DatabaseLimits.html">ActiveRecord::ConnectionAdapters::DatabaseLimits</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/DatabaseStatements.html">ActiveRecord::ConnectionAdapters::DatabaseStatements</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/Mysql2Adapter.html">ActiveRecord::ConnectionAdapters::Mysql2Adapter</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/MysqlAdapter.html">ActiveRecord::ConnectionAdapters::MysqlAdapter</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/MysqlAdapter/StatementPool.html">ActiveRecord::ConnectionAdapters::MysqlAdapter::StatementPool</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/PostgreSQLAdapter.html">ActiveRecord::ConnectionAdapters::PostgreSQLAdapter</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/PostgreSQLAdapter/StatementPool.html">ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::StatementPool</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/PostgreSQLAdapter/TableDefinition.html">ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::TableDefinition</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/PostgreSQLAdapter/Utils.html">ActiveRecord::ConnectionAdapters::PostgreSQLAdapter::Utils</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/PostgreSQLColumn.html">ActiveRecord::ConnectionAdapters::PostgreSQLColumn</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/QueryCache.html">ActiveRecord::ConnectionAdapters::QueryCache</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/Quoting.html">ActiveRecord::ConnectionAdapters::Quoting</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/SQLiteAdapter.html">ActiveRecord::ConnectionAdapters::SQLiteAdapter</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/SQLiteAdapter/ExplainPrettyPrinter.html">ActiveRecord::ConnectionAdapters::SQLiteAdapter::ExplainPrettyPrinter</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/SQLiteAdapter/StatementPool.html">ActiveRecord::ConnectionAdapters::SQLiteAdapter::StatementPool</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/SQLiteAdapter/Version.html">ActiveRecord::ConnectionAdapters::SQLiteAdapter::Version</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/SchemaCache.html">ActiveRecord::ConnectionAdapters::SchemaCache</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/SchemaStatements.html">ActiveRecord::ConnectionAdapters::SchemaStatements</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/StatementPool.html">ActiveRecord::ConnectionAdapters::StatementPool</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/Table.html">ActiveRecord::ConnectionAdapters::Table</a>
  
    <li><a href="./ActiveRecord/ConnectionAdapters/TableDefinition.html">ActiveRecord::ConnectionAdapters::TableDefinition</a>
  
    <li><a href="./ActiveRecord/ConnectionNotEstablished.html">ActiveRecord::ConnectionNotEstablished</a>
  
    <li><a href="./ActiveRecord/ConnectionTimeoutError.html">ActiveRecord::ConnectionTimeoutError</a>
  
    <li><a href="./ActiveRecord/CounterCache.html">ActiveRecord::CounterCache</a>
  
    <li><a href="./ActiveRecord/DangerousAttributeError.html">ActiveRecord::DangerousAttributeError</a>
  
    <li><a href="./ActiveRecord/Delegation.html">ActiveRecord::Delegation</a>
  
    <li><a href="./ActiveRecord/DynamicFinderMatch.html">ActiveRecord::DynamicFinderMatch</a>
  
    <li><a href="./ActiveRecord/DynamicMatchers.html">ActiveRecord::DynamicMatchers</a>
  
    <li><a href="./ActiveRecord/DynamicScopeMatch.html">ActiveRecord::DynamicScopeMatch</a>
  
    <li><a href="./ActiveRecord/Explain.html">ActiveRecord::Explain</a>
  
    <li><a href="./ActiveRecord/FinderMethods.html">ActiveRecord::FinderMethods</a>
  
    <li><a href="./ActiveRecord/Fixtures.html">ActiveRecord::Fixtures</a>
  
    <li><a href="./ActiveRecord/Fixtures/File.html">ActiveRecord::Fixtures::File</a>
  
    <li><a href="./ActiveRecord/IdentityMap.html">ActiveRecord::IdentityMap</a>
  
    <li><a href="./ActiveRecord/IdentityMap/Middleware.html">ActiveRecord::IdentityMap::Middleware</a>
  
    <li><a href="./ActiveRecord/Inheritance.html">ActiveRecord::Inheritance</a>
  
    <li><a href="./ActiveRecord/Inheritance/ClassMethods.html">ActiveRecord::Inheritance::ClassMethods</a>
  
    <li><a href="./ActiveRecord/Integration.html">ActiveRecord::Integration</a>
  
    <li><a href="./ActiveRecord/InvalidForeignKey.html">ActiveRecord::InvalidForeignKey</a>
  
    <li><a href="./ActiveRecord/IrreversibleMigration.html">ActiveRecord::IrreversibleMigration</a>
  
    <li><a href="./ActiveRecord/Locking.html">ActiveRecord::Locking</a>
  
    <li><a href="./ActiveRecord/Locking/Optimistic.html">ActiveRecord::Locking::Optimistic</a>
  
    <li><a href="./ActiveRecord/Locking/Optimistic/ClassMethods.html">ActiveRecord::Locking::Optimistic::ClassMethods</a>
  
    <li><a href="./ActiveRecord/Locking/Pessimistic.html">ActiveRecord::Locking::Pessimistic</a>
  
    <li><a href="./ActiveRecord/LogSubscriber.html">ActiveRecord::LogSubscriber</a>
  
    <li><a href="./ActiveRecord/Migration.html">ActiveRecord::Migration</a>
  
    <li><a href="./ActiveRecord/Migration/CommandRecorder.html">ActiveRecord::Migration::CommandRecorder</a>
  
    <li><a href="./ActiveRecord/MigrationProxy.html">ActiveRecord::MigrationProxy</a>
  
    <li><a href="./ActiveRecord/ModelSchema.html">ActiveRecord::ModelSchema</a>
  
    <li><a href="./ActiveRecord/ModelSchema/ClassMethods.html">ActiveRecord::ModelSchema::ClassMethods</a>
  
    <li><a href="./ActiveRecord/MultiparameterAssignmentErrors.html">ActiveRecord::MultiparameterAssignmentErrors</a>
  
    <li><a href="./ActiveRecord/NestedAttributes.html">ActiveRecord::NestedAttributes</a>
  
    <li><a href="./ActiveRecord/NestedAttributes/ClassMethods.html">ActiveRecord::NestedAttributes::ClassMethods</a>
  
    <li><a href="./ActiveRecord/NestedAttributes/TooManyRecords.html">ActiveRecord::NestedAttributes::TooManyRecords</a>
  
    <li><a href="./ActiveRecord/Observer.html">ActiveRecord::Observer</a>
  
    <li><a href="./ActiveRecord/Persistence.html">ActiveRecord::Persistence</a>
  
    <li><a href="./ActiveRecord/Persistence/ClassMethods.html">ActiveRecord::Persistence::ClassMethods</a>
  
    <li><a href="./ActiveRecord/PreparedStatementInvalid.html">ActiveRecord::PreparedStatementInvalid</a>
  
    <li><a href="./ActiveRecord/QueryCache.html">ActiveRecord::QueryCache</a>
  
    <li><a href="./ActiveRecord/QueryCache/ClassMethods.html">ActiveRecord::QueryCache::ClassMethods</a>
  
    <li><a href="./ActiveRecord/QueryMethods.html">ActiveRecord::QueryMethods</a>
  
    <li><a href="./ActiveRecord/Querying.html">ActiveRecord::Querying</a>
  
    <li><a href="./ActiveRecord/Railtie.html">ActiveRecord::Railtie</a>
  
    <li><a href="./ActiveRecord/Railties.html">ActiveRecord::Railties</a>
  
    <li><a href="./ActiveRecord/Railties/ControllerRuntime.html">ActiveRecord::Railties::ControllerRuntime</a>
  
    <li><a href="./ActiveRecord/Railties/ControllerRuntime/ClassMethods.html">ActiveRecord::Railties::ControllerRuntime::ClassMethods</a>
  
    <li><a href="./ActiveRecord/ReadOnlyRecord.html">ActiveRecord::ReadOnlyRecord</a>
  
    <li><a href="./ActiveRecord/ReadonlyAttributes.html">ActiveRecord::ReadonlyAttributes</a>
  
    <li><a href="./ActiveRecord/ReadonlyAttributes/ClassMethods.html">ActiveRecord::ReadonlyAttributes::ClassMethods</a>
  
    <li><a href="./ActiveRecord/RecordInvalid.html">ActiveRecord::RecordInvalid</a>
  
    <li><a href="./ActiveRecord/RecordNotFound.html">ActiveRecord::RecordNotFound</a>
  
    <li><a href="./ActiveRecord/RecordNotSaved.html">ActiveRecord::RecordNotSaved</a>
  
    <li><a href="./ActiveRecord/RecordNotUnique.html">ActiveRecord::RecordNotUnique</a>
  
    <li><a href="./ActiveRecord/Reflection.html">ActiveRecord::Reflection</a>
  
    <li><a href="./ActiveRecord/Reflection/ClassMethods.html">ActiveRecord::Reflection::ClassMethods</a>
  
    <li><a href="./ActiveRecord/Reflection/MacroReflection.html">ActiveRecord::Reflection::MacroReflection</a>
  
    <li><a href="./ActiveRecord/Relation.html">ActiveRecord::Relation</a>
  
    <li><a href="./ActiveRecord/Result.html">ActiveRecord::Result</a>
  
    <li><a href="./ActiveRecord/Rollback.html">ActiveRecord::Rollback</a>
  
    <li><a href="./ActiveRecord/Sanitization.html">ActiveRecord::Sanitization</a>
  
    <li><a href="./ActiveRecord/Sanitization/ClassMethods.html">ActiveRecord::Sanitization::ClassMethods</a>
  
    <li><a href="./ActiveRecord/Schema.html">ActiveRecord::Schema</a>
  
    <li><a href="./ActiveRecord/Scoping.html">ActiveRecord::Scoping</a>
  
    <li><a href="./ActiveRecord/Scoping/ClassMethods.html">ActiveRecord::Scoping::ClassMethods</a>
  
    <li><a href="./ActiveRecord/Scoping/Default.html">ActiveRecord::Scoping::Default</a>
  
    <li><a href="./ActiveRecord/Scoping/Default/ClassMethods.html">ActiveRecord::Scoping::Default::ClassMethods</a>
  
    <li><a href="./ActiveRecord/Scoping/Named.html">ActiveRecord::Scoping::Named</a>
  
    <li><a href="./ActiveRecord/Scoping/Named/ClassMethods.html">ActiveRecord::Scoping::Named::ClassMethods</a>
  
    <li><a href="./ActiveRecord/Serialization.html">ActiveRecord::Serialization</a>
  
    <li><a href="./ActiveRecord/SerializationTypeMismatch.html">ActiveRecord::SerializationTypeMismatch</a>
  
    <li><a href="./ActiveRecord/SessionStore.html">ActiveRecord::SessionStore</a>
  
    <li><a href="./ActiveRecord/SessionStore/Session.html">ActiveRecord::SessionStore::Session</a>
  
    <li><a href="./ActiveRecord/SessionStore/SqlBypass.html">ActiveRecord::SessionStore::SqlBypass</a>
  
    <li><a href="./ActiveRecord/SpawnMethods.html">ActiveRecord::SpawnMethods</a>
  
    <li><a href="./ActiveRecord/StaleObjectError.html">ActiveRecord::StaleObjectError</a>
  
    <li><a href="./ActiveRecord/StatementInvalid.html">ActiveRecord::StatementInvalid</a>
  
    <li><a href="./ActiveRecord/Store.html">ActiveRecord::Store</a>
  
    <li><a href="./ActiveRecord/Store/ClassMethods.html">ActiveRecord::Store::ClassMethods</a>
  
    <li><a href="./ActiveRecord/TestFixtures.html">ActiveRecord::TestFixtures</a>
  
    <li><a href="./ActiveRecord/TestFixtures/ClassMethods.html">ActiveRecord::TestFixtures::ClassMethods</a>
  
    <li><a href="./ActiveRecord/ThrowResult.html">ActiveRecord::ThrowResult</a>
  
    <li><a href="./ActiveRecord/Timestamp.html">ActiveRecord::Timestamp</a>
  
    <li><a href="./ActiveRecord/Transactions.html">ActiveRecord::Transactions</a>
  
    <li><a href="./ActiveRecord/Transactions/ClassMethods.html">ActiveRecord::Transactions::ClassMethods</a>
  
    <li><a href="./ActiveRecord/Translation.html">ActiveRecord::Translation</a>
  
    <li><a href="./ActiveRecord/UnknownAttributeError.html">ActiveRecord::UnknownAttributeError</a>
  
    <li><a href="./ActiveRecord/UnknownPrimaryKey.html">ActiveRecord::UnknownPrimaryKey</a>
  
    <li><a href="./ActiveRecord/Validations.html">ActiveRecord::Validations</a>
  
    <li><a href="./ActiveRecord/Validations/AssociatedValidator.html">ActiveRecord::Validations::AssociatedValidator</a>
  
    <li><a href="./ActiveRecord/Validations/ClassMethods.html">ActiveRecord::Validations::ClassMethods</a>
  
    <li><a href="./ActiveRecord/Validations/UniquenessValidator.html">ActiveRecord::Validations::UniquenessValidator</a>
  
    <li><a href="./ActiveRecord/WrappedDatabaseException.html">ActiveRecord::WrappedDatabaseException</a>
  
    <li><a href="./ActiveSupport.html">ActiveSupport</a>
  
    <li><a href="./ActiveSupport/Autoload.html">ActiveSupport::Autoload</a>
  
    <li><a href="./ActiveSupport/BacktraceCleaner.html">ActiveSupport::BacktraceCleaner</a>
  
    <li><a href="./ActiveSupport/Base64.html">ActiveSupport::Base64</a>
  
    <li><a href="./ActiveSupport/BasicObject.html">ActiveSupport::BasicObject</a>
  
    <li><a href="./ActiveSupport/Benchmarkable.html">ActiveSupport::Benchmarkable</a>
  
    <li><a href="./ActiveSupport/BufferedLogger.html">ActiveSupport::BufferedLogger</a>
  
    <li><a href="./ActiveSupport/BufferedLogger/Severity.html">ActiveSupport::BufferedLogger::Severity</a>
  
    <li><a href="./ActiveSupport/Cache.html">ActiveSupport::Cache</a>
  
    <li><a href="./ActiveSupport/Cache/Entry.html">ActiveSupport::Cache::Entry</a>
  
    <li><a href="./ActiveSupport/Cache/FileStore.html">ActiveSupport::Cache::FileStore</a>
  
    <li><a href="./ActiveSupport/Cache/MemCacheStore.html">ActiveSupport::Cache::MemCacheStore</a>
  
    <li><a href="./ActiveSupport/Cache/MemoryStore.html">ActiveSupport::Cache::MemoryStore</a>
  
    <li><a href="./ActiveSupport/Cache/NullStore.html">ActiveSupport::Cache::NullStore</a>
  
    <li><a href="./ActiveSupport/Cache/Store.html">ActiveSupport::Cache::Store</a>
  
    <li><a href="./ActiveSupport/Cache/Strategy.html">ActiveSupport::Cache::Strategy</a>
  
    <li><a href="./ActiveSupport/Cache/Strategy/LocalCache.html">ActiveSupport::Cache::Strategy::LocalCache</a>
  
    <li><a href="./ActiveSupport/Cache/Strategy/LocalCache/LocalStore.html">ActiveSupport::Cache::Strategy::LocalCache::LocalStore</a>
  
    <li><a href="./ActiveSupport/Callbacks.html">ActiveSupport::Callbacks</a>
  
    <li><a href="./ActiveSupport/Callbacks/ClassMethods.html">ActiveSupport::Callbacks::ClassMethods</a>
  
    <li><a href="./ActiveSupport/Concern.html">ActiveSupport::Concern</a>
  
    <li><a href="./ActiveSupport/Configurable.html">ActiveSupport::Configurable</a>
  
    <li><a href="./ActiveSupport/Configurable/ClassMethods.html">ActiveSupport::Configurable::ClassMethods</a>
  
    <li><a href="./ActiveSupport/Configurable/Configuration.html">ActiveSupport::Configurable::Configuration</a>
  
    <li><a href="./ActiveSupport/Dependencies.html">ActiveSupport::Dependencies</a>
  
    <li><a href="./ActiveSupport/Dependencies/ClassCache.html">ActiveSupport::Dependencies::ClassCache</a>
  
    <li><a href="./ActiveSupport/Dependencies/WatchStack.html">ActiveSupport::Dependencies::WatchStack</a>
  
    <li><a href="./ActiveSupport/Deprecation.html">ActiveSupport::Deprecation</a>
  
    <li><a href="./ActiveSupport/DescendantsTracker.html">ActiveSupport::DescendantsTracker</a>
  
    <li><a href="./ActiveSupport/Duration.html">ActiveSupport::Duration</a>
  
    <li><a href="./ActiveSupport/FileUpdateChecker.html">ActiveSupport::FileUpdateChecker</a>
  
    <li><a href="./ActiveSupport/FileWatcher.html">ActiveSupport::FileWatcher</a>
  
    <li><a href="./ActiveSupport/FileWatcher/Backend.html">ActiveSupport::FileWatcher::Backend</a>
  
    <li><a href="./ActiveSupport/Gzip.html">ActiveSupport::Gzip</a>
  
    <li><a href="./ActiveSupport/Gzip/Stream.html">ActiveSupport::Gzip::Stream</a>
  
    <li><a href="./ActiveSupport/HashWithIndifferentAccess.html">ActiveSupport::HashWithIndifferentAccess</a>
  
    <li><a href="./ActiveSupport/HashWithIndifferentAccess.html">ActiveSupport::HashWithIndifferentAccess</a>
  
    <li><a href="./ActiveSupport/Inflector.html">ActiveSupport::Inflector</a>
  
    <li><a href="./ActiveSupport/Inflector/Inflections.html">ActiveSupport::Inflector::Inflections</a>
  
    <li><a href="./ActiveSupport/InheritableOptions.html">ActiveSupport::InheritableOptions</a>
  
    <li><a href="./ActiveSupport/JSON.html">ActiveSupport::JSON</a>
  
    <li><a href="./ActiveSupport/JSON/Encoding.html">ActiveSupport::JSON::Encoding</a>
  
    <li><a href="./ActiveSupport/JSON/Encoding/CircularReferenceError.html">ActiveSupport::JSON::Encoding::CircularReferenceError</a>
  
    <li><a href="./ActiveSupport/JSON/Encoding/Encoder.html">ActiveSupport::JSON::Encoding::Encoder</a>
  
    <li><a href="./ActiveSupport/JSON/Variable.html">ActiveSupport::JSON::Variable</a>
  
    <li><a href="./ActiveSupport/LogSubscriber.html">ActiveSupport::LogSubscriber</a>
  
    <li><a href="./ActiveSupport/LogSubscriber/TestHelper.html">ActiveSupport::LogSubscriber::TestHelper</a>
  
    <li><a href="./ActiveSupport/LogSubscriber/TestHelper/MockLogger.html">ActiveSupport::LogSubscriber::TestHelper::MockLogger</a>
  
    <li><a href="./ActiveSupport/Memoizable.html">ActiveSupport::Memoizable</a>
  
    <li><a href="./ActiveSupport/Memoizable/InstanceMethods.html">ActiveSupport::Memoizable::InstanceMethods</a>
  
    <li><a href="./ActiveSupport/MessageEncryptor.html">ActiveSupport::MessageEncryptor</a>
  
    <li><a href="./ActiveSupport/MessageEncryptor/InvalidMessage.html">ActiveSupport::MessageEncryptor::InvalidMessage</a>
  
    <li><a href="./ActiveSupport/MessageVerifier.html">ActiveSupport::MessageVerifier</a>
  
    <li><a href="./ActiveSupport/MessageVerifier/InvalidSignature.html">ActiveSupport::MessageVerifier::InvalidSignature</a>
  
    <li><a href="./ActiveSupport/Multibyte.html">ActiveSupport::Multibyte</a>
  
    <li><a href="./ActiveSupport/Multibyte/Chars.html">ActiveSupport::Multibyte::Chars</a>
  
    <li><a href="./ActiveSupport/Multibyte/EncodingError.html">ActiveSupport::Multibyte::EncodingError</a>
  
    <li><a href="./ActiveSupport/Multibyte/Unicode.html">ActiveSupport::Multibyte::Unicode</a>
  
    <li><a href="./ActiveSupport/Multibyte/Unicode/Codepoint.html">ActiveSupport::Multibyte::Unicode::Codepoint</a>
  
    <li><a href="./ActiveSupport/Multibyte/Unicode/UnicodeDatabase.html">ActiveSupport::Multibyte::Unicode::UnicodeDatabase</a>
  
    <li><a href="./ActiveSupport/Notifications.html">ActiveSupport::Notifications</a>
  
    <li><a href="./ActiveSupport/Notifications/Event.html">ActiveSupport::Notifications::Event</a>
  
    <li><a href="./ActiveSupport/Notifications/Fanout.html">ActiveSupport::Notifications::Fanout</a>
  
    <li><a href="./ActiveSupport/Notifications/Instrumenter.html">ActiveSupport::Notifications::Instrumenter</a>
  
    <li><a href="./ActiveSupport/OrderedHash.html">ActiveSupport::OrderedHash</a>
  
    <li><a href="./ActiveSupport/OrderedOptions.html">ActiveSupport::OrderedOptions</a>
  
    <li><a href="./ActiveSupport/Railtie.html">ActiveSupport::Railtie</a>
  
    <li><a href="./ActiveSupport/Rescuable.html">ActiveSupport::Rescuable</a>
  
    <li><a href="./ActiveSupport/Rescuable/ClassMethods.html">ActiveSupport::Rescuable::ClassMethods</a>
  
    <li><a href="./ActiveSupport/SafeBuffer.html">ActiveSupport::SafeBuffer</a>
  
    <li><a href="./ActiveSupport/SafeBuffer/SafeConcatError.html">ActiveSupport::SafeBuffer::SafeConcatError</a>
  
    <li><a href="./ActiveSupport/StringInquirer.html">ActiveSupport::StringInquirer</a>
  
    <li><a href="./ActiveSupport/TaggedLogging.html">ActiveSupport::TaggedLogging</a>
  
    <li><a href="./ActiveSupport/TestCase.html">ActiveSupport::TestCase</a>
  
    <li><a href="./ActiveSupport/Testing.html">ActiveSupport::Testing</a>
  
    <li><a href="./ActiveSupport/Testing/Assertions.html">ActiveSupport::Testing::Assertions</a>
  
    <li><a href="./ActiveSupport/Testing/Declarative.html">ActiveSupport::Testing::Declarative</a>
  
    <li><a href="./ActiveSupport/Testing/Isolation.html">ActiveSupport::Testing::Isolation</a>
  
    <li><a href="./ActiveSupport/Testing/Isolation/Forking.html">ActiveSupport::Testing::Isolation::Forking</a>
  
    <li><a href="./ActiveSupport/Testing/Isolation/MiniTest.html">ActiveSupport::Testing::Isolation::MiniTest</a>
  
    <li><a href="./ActiveSupport/Testing/Isolation/Subprocess.html">ActiveSupport::Testing::Isolation::Subprocess</a>
  
    <li><a href="./ActiveSupport/Testing/Isolation/TestUnit.html">ActiveSupport::Testing::Isolation::TestUnit</a>
  
    <li><a href="./ActiveSupport/Testing/Pending.html">ActiveSupport::Testing::Pending</a>
  
    <li><a href="./ActiveSupport/Testing/Performance.html">ActiveSupport::Testing::Performance</a>
  
    <li><a href="./ActiveSupport/Testing/Performance/Benchmarker.html">ActiveSupport::Testing::Performance::Benchmarker</a>
  
    <li><a href="./ActiveSupport/Testing/Performance/ForClassicTestUnit.html">ActiveSupport::Testing::Performance::ForClassicTestUnit</a>
  
    <li><a href="./ActiveSupport/Testing/Performance/ForMiniTest.html">ActiveSupport::Testing::Performance::ForMiniTest</a>
  
    <li><a href="./ActiveSupport/Testing/Performance/Metrics.html">ActiveSupport::Testing::Performance::Metrics</a>
  
    <li><a href="./ActiveSupport/Testing/Performance/Metrics/Amount.html">ActiveSupport::Testing::Performance::Metrics::Amount</a>
  
    <li><a href="./ActiveSupport/Testing/Performance/Metrics/Base.html">ActiveSupport::Testing::Performance::Metrics::Base</a>
  
    <li><a href="./ActiveSupport/Testing/Performance/Metrics/CpuTime.html">ActiveSupport::Testing::Performance::Metrics::CpuTime</a>
  
    <li><a href="./ActiveSupport/Testing/Performance/Metrics/DigitalInformationUnit.html">ActiveSupport::Testing::Performance::Metrics::DigitalInformationUnit</a>
  
    <li><a href="./ActiveSupport/Testing/Performance/Metrics/GcRuns.html">ActiveSupport::Testing::Performance::Metrics::GcRuns</a>
  
    <li><a href="./ActiveSupport/Testing/Performance/Metrics/GcTime.html">ActiveSupport::Testing::Performance::Metrics::GcTime</a>
  
    <li><a href="./ActiveSupport/Testing/Performance/Metrics/Memory.html">ActiveSupport::Testing::Performance::Metrics::Memory</a>
  
    <li><a href="./ActiveSupport/Testing/Performance/Metrics/Objects.html">ActiveSupport::Testing::Performance::Metrics::Objects</a>
  
    <li><a href="./ActiveSupport/Testing/Performance/Metrics/ProcessTime.html">ActiveSupport::Testing::Performance::Metrics::ProcessTime</a>
  
    <li><a href="./ActiveSupport/Testing/Performance/Metrics/Time.html">ActiveSupport::Testing::Performance::Metrics::Time</a>
  
    <li><a href="./ActiveSupport/Testing/Performance/Metrics/UserTime.html">ActiveSupport::Testing::Performance::Metrics::UserTime</a>
  
    <li><a href="./ActiveSupport/Testing/Performance/Metrics/WallTime.html">ActiveSupport::Testing::Performance::Metrics::WallTime</a>
  
    <li><a href="./ActiveSupport/Testing/Performance/Performer.html">ActiveSupport::Testing::Performance::Performer</a>
  
    <li><a href="./ActiveSupport/Testing/Performance/Profiler.html">ActiveSupport::Testing::Performance::Profiler</a>
  
    <li><a href="./ActiveSupport/Testing/ProxyTestResult.html">ActiveSupport::Testing::ProxyTestResult</a>
  
    <li><a href="./ActiveSupport/Testing/RemoteError.html">ActiveSupport::Testing::RemoteError</a>
  
    <li><a href="./ActiveSupport/Testing/SetupAndTeardown.html">ActiveSupport::Testing::SetupAndTeardown</a>
  
    <li><a href="./ActiveSupport/Testing/SetupAndTeardown/ClassMethods.html">ActiveSupport::Testing::SetupAndTeardown::ClassMethods</a>
  
    <li><a href="./ActiveSupport/Testing/SetupAndTeardown/ForClassicTestUnit.html">ActiveSupport::Testing::SetupAndTeardown::ForClassicTestUnit</a>
  
    <li><a href="./ActiveSupport/Testing/SetupAndTeardown/ForMiniTest.html">ActiveSupport::Testing::SetupAndTeardown::ForMiniTest</a>
  
    <li><a href="./ActiveSupport/TimeWithZone.html">ActiveSupport::TimeWithZone</a>
  
    <li><a href="./ActiveSupport/TimeZone.html">ActiveSupport::TimeZone</a>
  
    <li><a href="./ActiveSupport/XmlMini.html">ActiveSupport::XmlMini</a>
  
    <li><a href="./ActiveSupport/XmlMini_LibXMLSAX.html">ActiveSupport::XmlMini_LibXMLSAX</a>
  
    <li><a href="./ActiveSupport/XmlMini_LibXMLSAX/HashBuilder.html">ActiveSupport::XmlMini_LibXMLSAX::HashBuilder</a>
  
    <li><a href="./ActiveSupport/XmlMini_NokogiriSAX.html">ActiveSupport::XmlMini_NokogiriSAX</a>
  
    <li><a href="./ActiveSupport/XmlMini_NokogiriSAX/HashBuilder.html">ActiveSupport::XmlMini_NokogiriSAX::HashBuilder</a>
  
    <li><a href="./ActionController.html">ActionController</a>
  
    <li><a href="./ActionController/Base.html">ActionController::Base</a>
  
    <li><a href="./ActionController/Caching.html">ActionController::Caching</a>
  
    <li><a href="./ActionController/Caching/Actions.html">ActionController::Caching::Actions</a>
  
    <li><a href="./ActionController/Caching/Actions/ActionCachePath.html">ActionController::Caching::Actions::ActionCachePath</a>
  
    <li><a href="./ActionController/Caching/Actions/ClassMethods.html">ActionController::Caching::Actions::ClassMethods</a>
  
    <li><a href="./ActionController/Caching/ConfigMethods.html">ActionController::Caching::ConfigMethods</a>
  
    <li><a href="./ActionController/Caching/Fragments.html">ActionController::Caching::Fragments</a>
  
    <li><a href="./ActionController/Caching/Pages.html">ActionController::Caching::Pages</a>
  
    <li><a href="./ActionController/Caching/Pages/ClassMethods.html">ActionController::Caching::Pages::ClassMethods</a>
  
    <li><a href="./ActionController/Caching/Sweeping.html">ActionController::Caching::Sweeping</a>
  
    <li><a href="./ActionController/Compatibility.html">ActionController::Compatibility</a>
  
    <li><a href="./ActionController/ConditionalGet.html">ActionController::ConditionalGet</a>
  
    <li><a href="./ActionController/Cookies.html">ActionController::Cookies</a>
  
    <li><a href="./ActionController/DataStreaming.html">ActionController::DataStreaming</a>
  
    <li><a href="./ActionController/Flash.html">ActionController::Flash</a>
  
    <li><a href="./ActionController/ForceSSL.html">ActionController::ForceSSL</a>
  
    <li><a href="./ActionController/ForceSSL/ClassMethods.html">ActionController::ForceSSL::ClassMethods</a>
  
    <li><a href="./ActionController/Head.html">ActionController::Head</a>
  
    <li><a href="./ActionController/Helpers.html">ActionController::Helpers</a>
  
    <li><a href="./ActionController/Helpers/ClassMethods.html">ActionController::Helpers::ClassMethods</a>
  
    <li><a href="./ActionController/HideActions.html">ActionController::HideActions</a>
  
    <li><a href="./ActionController/HideActions/ClassMethods.html">ActionController::HideActions::ClassMethods</a>
  
    <li><a href="./ActionController/HttpAuthentication.html">ActionController::HttpAuthentication</a>
  
    <li><a href="./ActionController/HttpAuthentication/Basic.html">ActionController::HttpAuthentication::Basic</a>
  
    <li><a href="./ActionController/HttpAuthentication/Basic/ControllerMethods.html">ActionController::HttpAuthentication::Basic::ControllerMethods</a>
  
    <li><a href="./ActionController/HttpAuthentication/Basic/ControllerMethods/ClassMethods.html">ActionController::HttpAuthentication::Basic::ControllerMethods::ClassMethods</a>
  
    <li><a href="./ActionController/HttpAuthentication/Digest.html">ActionController::HttpAuthentication::Digest</a>
  
    <li><a href="./ActionController/HttpAuthentication/Digest/ControllerMethods.html">ActionController::HttpAuthentication::Digest::ControllerMethods</a>
  
    <li><a href="./ActionController/HttpAuthentication/Token.html">ActionController::HttpAuthentication::Token</a>
  
    <li><a href="./ActionController/HttpAuthentication/Token/ControllerMethods.html">ActionController::HttpAuthentication::Token::ControllerMethods</a>
  
    <li><a href="./ActionController/ImplicitRender.html">ActionController::ImplicitRender</a>
  
    <li><a href="./ActionController/Instrumentation.html">ActionController::Instrumentation</a>
  
    <li><a href="./ActionController/Instrumentation/ClassMethods.html">ActionController::Instrumentation::ClassMethods</a>
  
    <li><a href="./ActionController/LogSubscriber.html">ActionController::LogSubscriber</a>
  
    <li><a href="./ActionController/Metal.html">ActionController::Metal</a>
  
    <li><a href="./ActionController/Middleware.html">ActionController::Middleware</a>
  
    <li><a href="./ActionController/Middleware/ActionMiddleware.html">ActionController::Middleware::ActionMiddleware</a>
  
    <li><a href="./ActionController/MimeResponds.html">ActionController::MimeResponds</a>
  
    <li><a href="./ActionController/MimeResponds/ClassMethods.html">ActionController::MimeResponds::ClassMethods</a>
  
    <li><a href="./ActionController/ParamsWrapper.html">ActionController::ParamsWrapper</a>
  
    <li><a href="./ActionController/ParamsWrapper/ClassMethods.html">ActionController::ParamsWrapper::ClassMethods</a>
  
    <li><a href="./ActionController/RackDelegation.html">ActionController::RackDelegation</a>
  
    <li><a href="./ActionController/Railtie.html">ActionController::Railtie</a>
  
    <li><a href="./ActionController/Railties.html">ActionController::Railties</a>
  
    <li><a href="./ActionController/Railties/Paths.html">ActionController::Railties::Paths</a>
  
    <li><a href="./ActionController/RecordIdentifier.html">ActionController::RecordIdentifier</a>
  
    <li><a href="./ActionController/Redirecting.html">ActionController::Redirecting</a>
  
    <li><a href="./ActionController/Renderers.html">ActionController::Renderers</a>
  
    <li><a href="./ActionController/Renderers/All.html">ActionController::Renderers::All</a>
  
    <li><a href="./ActionController/Renderers/ClassMethods.html">ActionController::Renderers::ClassMethods</a>
  
    <li><a href="./ActionController/Rendering.html">ActionController::Rendering</a>
  
    <li><a href="./ActionController/RequestForgeryProtection.html">ActionController::RequestForgeryProtection</a>
  
    <li><a href="./ActionController/RequestForgeryProtection/ClassMethods.html">ActionController::RequestForgeryProtection::ClassMethods</a>
  
    <li><a href="./ActionController/Rescue.html">ActionController::Rescue</a>
  
    <li><a href="./ActionController/Responder.html">ActionController::Responder</a>
  
    <li><a href="./ActionController/SessionManagement.html">ActionController::SessionManagement</a>
  
    <li><a href="./ActionController/SessionManagement/ClassMethods.html">ActionController::SessionManagement::ClassMethods</a>
  
    <li><a href="./ActionController/Streaming.html">ActionController::Streaming</a>
  
    <li><a href="./ActionController/TemplateAssertions.html">ActionController::TemplateAssertions</a>
  
    <li><a href="./ActionController/TestCase.html">ActionController::TestCase</a>
  
    <li><a href="./ActionController/TestCase/Behavior.html">ActionController::TestCase::Behavior</a>
  
    <li><a href="./ActionController/TestCase/Behavior/ClassMethods.html">ActionController::TestCase::Behavior::ClassMethods</a>
  
    <li><a href="./ActionController/TestCase/RaiseActionExceptions.html">ActionController::TestCase::RaiseActionExceptions</a>
  
    <li><a href="./ActionController/TestResponse.html">ActionController::TestResponse</a>
  
    <li><a href="./ActionController/Testing.html">ActionController::Testing</a>
  
    <li><a href="./ActionController/Testing/ClassMethods.html">ActionController::Testing::ClassMethods</a>
  
    <li><a href="./ActionController/UrlFor.html">ActionController::UrlFor</a>
  
    <li><a href="./ActionView.html">ActionView</a>
  
    <li><a href="./ActionView/ActionView.html">ActionView::ActionView</a>
  
    <li><a href="./ActionView/ActionView/ActionView.html">ActionView::ActionView::ActionView</a>
  
    <li><a href="./ActionView/ActionView/ActionView/Base.html">ActionView::ActionView::ActionView::Base</a>
  
    <li><a href="./ActionView/Base.html">ActionView::Base</a>
  
    <li><a href="./ActionView/Context.html">ActionView::Context</a>
  
    <li><a href="./ActionView/FileSystemResolver.html">ActionView::FileSystemResolver</a>
  
    <li><a href="./ActionView/FixtureResolver.html">ActionView::FixtureResolver</a>
  
    <li><a href="./ActionView/Helpers.html">ActionView::Helpers</a>
  
    <li><a href="./ActionView/Helpers/ActiveModelHelper.html">ActionView::Helpers::ActiveModelHelper</a>
  
    <li><a href="./ActionView/Helpers/ActiveModelInstanceTag.html">ActionView::Helpers::ActiveModelInstanceTag</a>
  
    <li><a href="./ActionView/Helpers/AssetTagHelper.html">ActionView::Helpers::AssetTagHelper</a>
  
    <li><a href="./ActionView/Helpers/AssetTagHelper/AssetIncludeTag.html">ActionView::Helpers::AssetTagHelper::AssetIncludeTag</a>
  
    <li><a href="./ActionView/Helpers/AssetTagHelper/JavascriptIncludeTag.html">ActionView::Helpers::AssetTagHelper::JavascriptIncludeTag</a>
  
    <li><a href="./ActionView/Helpers/AssetTagHelper/JavascriptTagHelpers.html">ActionView::Helpers::AssetTagHelper::JavascriptTagHelpers</a>
  
    <li><a href="./ActionView/Helpers/AssetTagHelper/JavascriptTagHelpers/ClassMethods.html">ActionView::Helpers::AssetTagHelper::JavascriptTagHelpers::ClassMethods</a>
  
    <li><a href="./ActionView/Helpers/AssetTagHelper/StylesheetIncludeTag.html">ActionView::Helpers::AssetTagHelper::StylesheetIncludeTag</a>
  
    <li><a href="./ActionView/Helpers/AssetTagHelper/StylesheetTagHelpers.html">ActionView::Helpers::AssetTagHelper::StylesheetTagHelpers</a>
  
    <li><a href="./ActionView/Helpers/AssetTagHelper/StylesheetTagHelpers/ClassMethods.html">ActionView::Helpers::AssetTagHelper::StylesheetTagHelpers::ClassMethods</a>
  
    <li><a href="./ActionView/Helpers/AtomFeedHelper.html">ActionView::Helpers::AtomFeedHelper</a>
  
    <li><a href="./ActionView/Helpers/AtomFeedHelper/AtomBuilder.html">ActionView::Helpers::AtomFeedHelper::AtomBuilder</a>
  
    <li><a href="./ActionView/Helpers/AtomFeedHelper/AtomFeedBuilder.html">ActionView::Helpers::AtomFeedHelper::AtomFeedBuilder</a>
  
    <li><a href="./ActionView/Helpers/CacheHelper.html">ActionView::Helpers::CacheHelper</a>
  
    <li><a href="./ActionView/Helpers/CaptureHelper.html">ActionView::Helpers::CaptureHelper</a>
  
    <li><a href="./ActionView/Helpers/CsrfHelper.html">ActionView::Helpers::CsrfHelper</a>
  
    <li><a href="./ActionView/Helpers/DateHelper.html">ActionView::Helpers::DateHelper</a>
  
    <li><a href="./ActionView/Helpers/DateHelperInstanceTag.html">ActionView::Helpers::DateHelperInstanceTag</a>
  
    <li><a href="./ActionView/Helpers/DebugHelper.html">ActionView::Helpers::DebugHelper</a>
  
    <li><a href="./ActionView/Helpers/FormBuilder.html">ActionView::Helpers::FormBuilder</a>
  
    <li><a href="./ActionView/Helpers/FormHelper.html">ActionView::Helpers::FormHelper</a>
  
    <li><a href="./ActionView/Helpers/FormOptionsHelper.html">ActionView::Helpers::FormOptionsHelper</a>
  
    <li><a href="./ActionView/Helpers/FormTagHelper.html">ActionView::Helpers::FormTagHelper</a>
  
    <li><a href="./ActionView/Helpers/InstanceTag.html">ActionView::Helpers::InstanceTag</a>
  
    <li><a href="./ActionView/Helpers/JavaScriptHelper.html">ActionView::Helpers::JavaScriptHelper</a>
  
    <li><a href="./ActionView/Helpers/NumberHelper.html">ActionView::Helpers::NumberHelper</a>
  
    <li><a href="./ActionView/Helpers/NumberHelper/InvalidNumberError.html">ActionView::Helpers::NumberHelper::InvalidNumberError</a>
  
    <li><a href="./ActionView/Helpers/OutputSafetyHelper.html">ActionView::Helpers::OutputSafetyHelper</a>
  
    <li><a href="./ActionView/Helpers/RecordTagHelper.html">ActionView::Helpers::RecordTagHelper</a>
  
    <li><a href="./ActionView/Helpers/RenderingHelper.html">ActionView::Helpers::RenderingHelper</a>
  
    <li><a href="./ActionView/Helpers/SanitizeHelper.html">ActionView::Helpers::SanitizeHelper</a>
  
    <li><a href="./ActionView/Helpers/TagHelper.html">ActionView::Helpers::TagHelper</a>
  
    <li><a href="./ActionView/Helpers/TextHelper.html">ActionView::Helpers::TextHelper</a>
  
    <li><a href="./ActionView/Helpers/TranslationHelper.html">ActionView::Helpers::TranslationHelper</a>
  
    <li><a href="./ActionView/Helpers/UrlHelper.html">ActionView::Helpers::UrlHelper</a>
  
    <li><a href="./ActionView/LogSubscriber.html">ActionView::LogSubscriber</a>
  
    <li><a href="./ActionView/LookupContext.html">ActionView::LookupContext</a>
  
    <li><a href="./ActionView/LookupContext/DetailsCache.html">ActionView::LookupContext::DetailsCache</a>
  
    <li><a href="./ActionView/LookupContext/ViewPaths.html">ActionView::LookupContext::ViewPaths</a>
  
    <li><a href="./ActionView/NullResolver.html">ActionView::NullResolver</a>
  
    <li><a href="./ActionView/PartialRenderer.html">ActionView::PartialRenderer</a>
  
    <li><a href="./ActionView/Railtie.html">ActionView::Railtie</a>
  
    <li><a href="./ActionView/Renderer.html">ActionView::Renderer</a>
  
    <li><a href="./ActionView/Resolver.html">ActionView::Resolver</a>
  
    <li><a href="./ActionView/Resolver/Path.html">ActionView::Resolver::Path</a>
  
    <li><a href="./ActionView/Template.html">ActionView::Template</a>
  
    <li><a href="./ActionView/Template/Handlers.html">ActionView::Template::Handlers</a>
  
    <li><a href="./ActionView/Template/Handlers/Builder.html">ActionView::Template::Handlers::Builder</a>
  
    <li><a href="./ActionView/Template/Handlers/ERB.html">ActionView::Template::Handlers::ERB</a>
  
    <li><a href="./ActionView/Template/Handlers/Erubis.html">ActionView::Template::Handlers::Erubis</a>
  
    <li><a href="./ActionView/TestCase.html">ActionView::TestCase</a>
  
    <li><a href="./ActionView/TestCase/Behavior.html">ActionView::TestCase::Behavior</a>
  
    <li><a href="./ActionView/TestCase/Behavior/ClassMethods.html">ActionView::TestCase::Behavior::ClassMethods</a>
  
    <li><a href="./ActionView/TestCase/Behavior/Locals.html">ActionView::TestCase::Behavior::Locals</a>
  
    <li><a href="./ActionView/TestCase/TestController.html">ActionView::TestCase::TestController</a>
  
    <li><a href="./ActiveModel.html">ActiveModel</a>
  
    <li><a href="./ActiveModel/AttributeMethods.html">ActiveModel::AttributeMethods</a>
  
    <li><a href="./ActiveModel/AttributeMethods/ClassMethods.html">ActiveModel::AttributeMethods::ClassMethods</a>
  
    <li><a href="./ActiveModel/AttributeMethods/ClassMethods/AttributeMethodMatcher.html">ActiveModel::AttributeMethods::ClassMethods::AttributeMethodMatcher</a>
  
    <li><a href="./ActiveModel/BlockValidator.html">ActiveModel::BlockValidator</a>
  
    <li><a href="./ActiveModel/Callbacks.html">ActiveModel::Callbacks</a>
  
    <li><a href="./ActiveModel/Conversion.html">ActiveModel::Conversion</a>
  
    <li><a href="./ActiveModel/Dirty.html">ActiveModel::Dirty</a>
  
    <li><a href="./ActiveModel/EachValidator.html">ActiveModel::EachValidator</a>
  
    <li><a href="./ActiveModel/Errors.html">ActiveModel::Errors</a>
  
    <li><a href="./ActiveModel/Lint.html">ActiveModel::Lint</a>
  
    <li><a href="./ActiveModel/Lint/Tests.html">ActiveModel::Lint::Tests</a>
  
    <li><a href="./ActiveModel/MassAssignmentSecurity.html">ActiveModel::MassAssignmentSecurity</a>
  
    <li><a href="./ActiveModel/MassAssignmentSecurity/BlackList.html">ActiveModel::MassAssignmentSecurity::BlackList</a>
  
    <li><a href="./ActiveModel/MassAssignmentSecurity/ClassMethods.html">ActiveModel::MassAssignmentSecurity::ClassMethods</a>
  
    <li><a href="./ActiveModel/MassAssignmentSecurity/Error.html">ActiveModel::MassAssignmentSecurity::Error</a>
  
    <li><a href="./ActiveModel/MassAssignmentSecurity/LoggerSanitizer.html">ActiveModel::MassAssignmentSecurity::LoggerSanitizer</a>
  
    <li><a href="./ActiveModel/MassAssignmentSecurity/PermissionSet.html">ActiveModel::MassAssignmentSecurity::PermissionSet</a>
  
    <li><a href="./ActiveModel/MassAssignmentSecurity/Sanitizer.html">ActiveModel::MassAssignmentSecurity::Sanitizer</a>
  
    <li><a href="./ActiveModel/MassAssignmentSecurity/StrictSanitizer.html">ActiveModel::MassAssignmentSecurity::StrictSanitizer</a>
  
    <li><a href="./ActiveModel/MassAssignmentSecurity/WhiteList.html">ActiveModel::MassAssignmentSecurity::WhiteList</a>
  
    <li><a href="./ActiveModel/MissingAttributeError.html">ActiveModel::MissingAttributeError</a>
  
    <li><a href="./ActiveModel/Name.html">ActiveModel::Name</a>
  
    <li><a href="./ActiveModel/Naming.html">ActiveModel::Naming</a>
  
    <li><a href="./ActiveModel/Observer.html">ActiveModel::Observer</a>
  
    <li><a href="./ActiveModel/ObserverArray.html">ActiveModel::ObserverArray</a>
  
    <li><a href="./ActiveModel/Observing.html">ActiveModel::Observing</a>
  
    <li><a href="./ActiveModel/Observing/ClassMethods.html">ActiveModel::Observing::ClassMethods</a>
  
    <li><a href="./ActiveModel/SecurePassword.html">ActiveModel::SecurePassword</a>
  
    <li><a href="./ActiveModel/SecurePassword/ClassMethods.html">ActiveModel::SecurePassword::ClassMethods</a>
  
    <li><a href="./ActiveModel/SecurePassword/InstanceMethodsOnActivation.html">ActiveModel::SecurePassword::InstanceMethodsOnActivation</a>
  
    <li><a href="./ActiveModel/Serialization.html">ActiveModel::Serialization</a>
  
    <li><a href="./ActiveModel/Serializers.html">ActiveModel::Serializers</a>
  
    <li><a href="./ActiveModel/Serializers/JSON.html">ActiveModel::Serializers::JSON</a>
  
    <li><a href="./ActiveModel/Serializers/Xml.html">ActiveModel::Serializers::Xml</a>
  
    <li><a href="./ActiveModel/StrictValidationFailed.html">ActiveModel::StrictValidationFailed</a>
  
    <li><a href="./ActiveModel/Translation.html">ActiveModel::Translation</a>
  
    <li><a href="./ActiveModel/Validations.html">ActiveModel::Validations</a>
  
    <li><a href="./ActiveModel/Validations/AcceptanceValidator.html">ActiveModel::Validations::AcceptanceValidator</a>
  
    <li><a href="./ActiveModel/Validations/Callbacks.html">ActiveModel::Validations::Callbacks</a>
  
    <li><a href="./ActiveModel/Validations/Callbacks/ClassMethods.html">ActiveModel::Validations::Callbacks::ClassMethods</a>
  
    <li><a href="./ActiveModel/Validations/ClassMethods.html">ActiveModel::Validations::ClassMethods</a>
  
    <li><a href="./ActiveModel/Validations/ConfirmationValidator.html">ActiveModel::Validations::ConfirmationValidator</a>
  
    <li><a href="./ActiveModel/Validations/ExclusionValidator.html">ActiveModel::Validations::ExclusionValidator</a>
  
    <li><a href="./ActiveModel/Validations/FormatValidator.html">ActiveModel::Validations::FormatValidator</a>
  
    <li><a href="./ActiveModel/Validations/HelperMethods.html">ActiveModel::Validations::HelperMethods</a>
  
    <li><a href="./ActiveModel/Validations/InclusionValidator.html">ActiveModel::Validations::InclusionValidator</a>
  
    <li><a href="./ActiveModel/Validations/LengthValidator.html">ActiveModel::Validations::LengthValidator</a>
  
    <li><a href="./ActiveModel/Validations/NumericalityValidator.html">ActiveModel::Validations::NumericalityValidator</a>
  
    <li><a href="./ActiveModel/Validations/PresenceValidator.html">ActiveModel::Validations::PresenceValidator</a>
  
    <li><a href="./ActiveModel/Validations/WithValidator.html">ActiveModel::Validations::WithValidator</a>
  
    <li><a href="./ActiveModel/Validator.html">ActiveModel::Validator</a>
  
    <li><a href="./ActiveResource.html">ActiveResource</a>
  
    <li><a href="./ActiveResource/Base.html">ActiveResource::Base</a>
  
    <li><a href="./ActiveResource/Connection.html">ActiveResource::Connection</a>
  
    <li><a href="./ActiveResource/CustomMethods.html">ActiveResource::CustomMethods</a>
  
    <li><a href="./ActiveResource/CustomMethods/ClassMethods.html">ActiveResource::CustomMethods::ClassMethods</a>
  
    <li><a href="./ActiveResource/Errors.html">ActiveResource::Errors</a>
  
    <li><a href="./ActiveResource/Formats.html">ActiveResource::Formats</a>
  
    <li><a href="./ActiveResource/Formats/JsonFormat.html">ActiveResource::Formats::JsonFormat</a>
  
    <li><a href="./ActiveResource/Formats/XmlFormat.html">ActiveResource::Formats::XmlFormat</a>
  
    <li><a href="./ActiveResource/HttpMock.html">ActiveResource::HttpMock</a>
  
    <li><a href="./ActiveResource/InvalidRequestError.html">ActiveResource::InvalidRequestError</a>
  
    <li><a href="./ActiveResource/LogSubscriber.html">ActiveResource::LogSubscriber</a>
  
    <li><a href="./ActiveResource/Observing.html">ActiveResource::Observing</a>
  
    <li><a href="./ActiveResource/Railtie.html">ActiveResource::Railtie</a>
  
    <li><a href="./ActiveResource/Request.html">ActiveResource::Request</a>
  
    <li><a href="./ActiveResource/Response.html">ActiveResource::Response</a>
  
    <li><a href="./ActiveResource/SSLError.html">ActiveResource::SSLError</a>
  
    <li><a href="./ActiveResource/TimeoutError.html">ActiveResource::TimeoutError</a>
  
    <li><a href="./ActiveResource/Validations.html">ActiveResource::Validations</a>
  
    <li><a href="./HTML.html">HTML</a>
  
    <li><a href="./HTML/FullSanitizer.html">HTML::FullSanitizer</a>
  
    <li><a href="./HTML/LinkSanitizer.html">HTML::LinkSanitizer</a>
  
    <li><a href="./HTML/Sanitizer.html">HTML::Sanitizer</a>
  
    <li><a href="./HTML/Selector.html">HTML::Selector</a>
  
    <li><a href="./HTML/Tag.html">HTML::Tag</a>
  
    <li><a href="./HTML/WhiteListSanitizer.html">HTML::WhiteListSanitizer</a>
  
    <li><a href="./Mysql.html">Mysql</a>
  
    <li><a href="./Mysql/Result.html">Mysql::Result</a>
  
    <li><a href="./Mysql/Stmt.html">Mysql::Stmt</a>
  
    <li><a href="./Mysql/Time.html">Mysql::Time</a>
  
    <li><a href="./Test.html">Test</a>
  
    <li><a href="./Test/Unit.html">Test::Unit</a>
  
    <li><a href="./Test/Unit/Collector.html">Test::Unit::Collector</a>
  
    <li><a href="./Test/Unit/Collector/ObjectSpace.html">Test::Unit::Collector::ObjectSpace</a>
  
    <li><a href="./I18n.html">I18n</a>
  
    <li><a href="./I18n/ExceptionHandler.html">I18n::ExceptionHandler</a>
  
    <li><a href="./I18n/Railtie.html">I18n::Railtie</a>
  
    <li><a href="./Object.html">Object</a>
  
    <li><a href="./ActiveSupport/HashWithIndifferentAccess.html">Object::HashWithIndifferentAccess</a>
  
    <li><a href="./LoadError.html">Object::MissingSourceFile</a>
  
    <li><a href="./ActionMailer.html">ActionMailer</a>
  
    <li><a href="./ActionMailer/Base.html">ActionMailer::Base</a>
  
    <li><a href="./ArJdbcMySQL.html">ArJdbcMySQL</a>
  
    <li><a href="./ArJdbcMySQL/Error.html">ArJdbcMySQL::Error</a>
  
    <li><a href="./ERB.html">ERB</a>
  
    <li><a href="./ERB/Util.html">ERB::Util</a>
  
    <li><a href="./LoadError.html">LoadError</a>
  
    <li><a href="./LoadError.html">LoadError</a>
  
    <li><a href="./Logger.html">Logger</a>
  
    <li><a href="./Logger/SimpleFormatter.html">Logger::SimpleFormatter</a>
  
    <li><a href="./Array.html">Array</a>
  
    <li><a href="./Base64.html">Base64</a>
  
    <li><a href="./Benchmark.html">Benchmark</a>
  
    <li><a href="./BigDecimal.html">BigDecimal</a>
  
    <li><a href="./Class.html">Class</a>
  
    <li><a href="./Date.html">Date</a>
  
    <li><a href="./DateTime.html">DateTime</a>
  
    <li><a href="./Enumerable.html">Enumerable</a>
  
    <li><a href="./FalseClass.html">FalseClass</a>
  
    <li><a href="./File.html">File</a>
  
    <li><a href="./Float.html">Float</a>
  
    <li><a href="./Hash.html">Hash</a>
  
    <li><a href="./Integer.html">Integer</a>
  
    <li><a href="./Kernel.html">Kernel</a>
  
    <li><a href="./Module.html">Module</a>
  
    <li><a href="./NameError.html">NameError</a>
  
    <li><a href="./NilClass.html">NilClass</a>
  
    <li><a href="./Numeric.html">Numeric</a>
  
    <li><a href="./Process.html">Process</a>
  
    <li><a href="./QualifiedConstUtils.html">QualifiedConstUtils</a>
  
    <li><a href="./Rails.html">Rails</a>
  
    <li><a href="./Range.html">Range</a>
  
    <li><a href="./Regexp.html">Regexp</a>
  
    <li><a href="./String.html">String</a>
  
    <li><a href="./Symbol.html">Symbol</a>
  
    <li><a href="./Time.html">Time</a>
  
    <li><a href="./TrueClass.html">TrueClass</a>
  
    <li><a href="./URI.html">URI</a>
  
  </ul>
</nav>

  </div>
</nav>

<div id="documentation">
  <h1 class="class">class String</h1>

  <div id="description" class="description">
    
<p><a href="String.html">String</a> inflections define new methods on the <a
href="String.html">String</a> class to transform names for different
purposes. For instance, you can figure out the name of a table from the
name of a class.</p>

<pre class="ruby"><span class="ruby-string">&quot;ScaleScore&quot;</span>.<span class="ruby-identifier">tableize</span> <span class="ruby-comment"># =&gt; &quot;scale_scores&quot;</span>
</pre>

  </div><!-- description -->

  
  
  
  <section id="5Buntitled-5D" class="documentation-section">
    

    

    
    <!-- Constants -->
    <section id="constants-list" class="section">
      <h3 class="section-header">Constants</h3>
      <dl>
      
        <dt id="NON_WHITESPACE_REGEXP">NON_WHITESPACE_REGEXP
        
        <dd class="description"><p>0x3000: fullwidth whitespace</p>
        
      
      </dl>
    </section>
    

    

    <!-- Methods -->
    
     <section id="public-instance-5Buntitled-5D-method-details" class="method-section section">
      <h3 class="section-header">Public Instance Methods</h3>

    
      <div id="method-i-acts_like_string-3F" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">acts_like_string?</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Enable more predictable duck-typing on String-like classes. See
<code>Object#acts_like?</code>.</p>
          

          
          <div class="method-source-code" id="acts_like_string-3F-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/behavior.rb, line 3</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">acts_like_string?</span>
  <span class="ruby-keyword">true</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- acts_like_string-3F-source -->
          
        </div>

        

        
      </div><!-- acts_like_string-3F-method -->

    
      <div id="method-i-as_json" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">as_json</span><span
            class="method-args">(options = nil)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
          <div class="method-source-code" id="as_json-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/json/encoding.rb, line 176</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">as_json</span>(<span class="ruby-identifier">options</span> = <span class="ruby-keyword">nil</span>) <span class="ruby-keyword">self</span> <span class="ruby-keyword">end</span></pre>
          </div><!-- as_json-source -->
          
        </div>

        

        
      </div><!-- as_json-method -->

    
      <div id="method-i-at" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">at</span><span
            class="method-args">(position)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Returns the character at the <code>position</code> treating the string as
an array (where 0 is the first character).</p>

<p>Examples:</p>

<pre class="ruby"><span class="ruby-string">&quot;hello&quot;</span>.<span class="ruby-identifier">at</span>(<span class="ruby-value">0</span>)  <span class="ruby-comment"># =&gt; &quot;h&quot;</span>
<span class="ruby-string">&quot;hello&quot;</span>.<span class="ruby-identifier">at</span>(<span class="ruby-value">4</span>)  <span class="ruby-comment"># =&gt; &quot;o&quot;</span>
<span class="ruby-string">&quot;hello&quot;</span>.<span class="ruby-identifier">at</span>(<span class="ruby-value">10</span>) <span class="ruby-comment"># =&gt; ERROR if &lt; 1.9, nil in 1.9</span>
</pre>
          

          
          <div class="method-source-code" id="at-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/access.rb, line 11</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">at</span>(<span class="ruby-identifier">position</span>)
  <span class="ruby-identifier">mb_chars</span>[<span class="ruby-identifier">position</span>, <span class="ruby-value">1</span>].<span class="ruby-identifier">to_s</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- at-source -->
          
        </div>

        

        
      </div><!-- at-method -->

    
      <div id="method-i-blank-3F" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">blank?</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>A string is blank if it’s empty or contains whitespaces only:</p>

<pre class="ruby"><span class="ruby-string">&quot;&quot;</span>.<span class="ruby-identifier">blank?</span>                 <span class="ruby-comment"># =&gt; true</span>
<span class="ruby-string">&quot;   &quot;</span>.<span class="ruby-identifier">blank?</span>              <span class="ruby-comment"># =&gt; true</span>
<span class="ruby-string">&quot;　&quot;</span>.<span class="ruby-identifier">blank?</span>               <span class="ruby-comment"># =&gt; true</span>
<span class="ruby-string">&quot; something here &quot;</span>.<span class="ruby-identifier">blank?</span> <span class="ruby-comment"># =&gt; false</span>
</pre>
          

          
          <div class="method-source-code" id="blank-3F-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/object/blank.rb, line 101</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">blank?</span>
  <span class="ruby-comment"># 1.8 does not takes [:space:] properly</span>
  <span class="ruby-keyword">if</span> <span class="ruby-identifier">encoding_aware?</span>
    <span class="ruby-keyword">self</span> <span class="ruby-operator">!~</span> <span class="ruby-regexp">%r[^[:space:]]/</span>
  <span class="ruby-keyword">else</span>
    <span class="ruby-keyword">self</span> <span class="ruby-operator">!~</span> <span class="ruby-constant">NON_WHITESPACE_REGEXP</span>
  <span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- blank-3F-source -->
          
        </div>

        

        
      </div><!-- blank-3F-method -->

    
      <div id="method-i-camelcase" class="method-detail method-alias">
        
        <div class="method-heading">
          <span class="method-name">camelcase</span><span
            class="method-args">(first_letter = :upper)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
        </div>

        

        
        <div class="aliases">
          Alias for: <a href="String.html#method-i-camelize">camelize</a>
        </div>
        
      </div><!-- camelcase-method -->

    
      <div id="method-i-camelize" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">camelize</span><span
            class="method-args">(first_letter = :upper)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>By default, <code>camelize</code> converts strings to UpperCamelCase. If
the argument to camelize is set to <code>:lower</code> then camelize
produces lowerCamelCase.</p>

<p><code>camelize</code> will also convert '/' to '::' which is useful for
converting paths to namespaces.</p>

<pre class="ruby"><span class="ruby-string">&quot;active_record&quot;</span>.<span class="ruby-identifier">camelize</span>                <span class="ruby-comment"># =&gt; &quot;ActiveRecord&quot;</span>
<span class="ruby-string">&quot;active_record&quot;</span>.<span class="ruby-identifier">camelize</span>(:<span class="ruby-identifier">lower</span>)        <span class="ruby-comment"># =&gt; &quot;activeRecord&quot;</span>
<span class="ruby-string">&quot;active_record/errors&quot;</span>.<span class="ruby-identifier">camelize</span>         <span class="ruby-comment"># =&gt; &quot;ActiveRecord::Errors&quot;</span>
<span class="ruby-string">&quot;active_record/errors&quot;</span>.<span class="ruby-identifier">camelize</span>(:<span class="ruby-identifier">lower</span>) <span class="ruby-comment"># =&gt; &quot;activeRecord::Errors&quot;</span>
</pre>
          

          
          <div class="method-source-code" id="camelize-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/inflections.rb, line 78</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">camelize</span>(<span class="ruby-identifier">first_letter</span> = <span class="ruby-value">:upper</span>)
  <span class="ruby-keyword">case</span> <span class="ruby-identifier">first_letter</span>
    <span class="ruby-keyword">when</span> <span class="ruby-value">:upper</span> <span class="ruby-keyword">then</span> <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">Inflector</span>.<span class="ruby-identifier">camelize</span>(<span class="ruby-keyword">self</span>, <span class="ruby-keyword">true</span>)
    <span class="ruby-keyword">when</span> <span class="ruby-value">:lower</span> <span class="ruby-keyword">then</span> <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">Inflector</span>.<span class="ruby-identifier">camelize</span>(<span class="ruby-keyword">self</span>, <span class="ruby-keyword">false</span>)
  <span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- camelize-source -->
          
        </div>

        
        <div class="aliases">
          Also aliased as: <a href="String.html#method-i-camelcase">camelcase</a>
        </div>
        

        
      </div><!-- camelize-method -->

    
      <div id="method-i-classify" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">classify</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Create a class name from a plural table name like <a
href="Rails.html">Rails</a> does for table names to models. Note that this
returns a string and not a class. (To convert to an actual class follow
<code>classify</code> with <code>constantize</code>.)</p>

<pre class="ruby"><span class="ruby-string">&quot;egg_and_hams&quot;</span>.<span class="ruby-identifier">classify</span> <span class="ruby-comment"># =&gt; &quot;EggAndHam&quot;</span>
<span class="ruby-string">&quot;posts&quot;</span>.<span class="ruby-identifier">classify</span>        <span class="ruby-comment"># =&gt; &quot;Post&quot;</span>
</pre>

<p>Singular names are not handled correctly.</p>

<pre class="ruby"><span class="ruby-string">&quot;business&quot;</span>.<span class="ruby-identifier">classify</span> <span class="ruby-comment"># =&gt; &quot;Busines&quot;</span>
</pre>
          

          
          <div class="method-source-code" id="classify-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/inflections.rb, line 178</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">classify</span>
  <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">Inflector</span>.<span class="ruby-identifier">classify</span>(<span class="ruby-keyword">self</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- classify-source -->
          
        </div>

        

        
      </div><!-- classify-method -->

    
      <div id="method-i-constantize" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">constantize</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p><code>constantize</code> tries to find a declared constant with the name
specified in the string. It raises a <a href="NameError.html">NameError</a>
when the name is not in CamelCase or is not initialized.  See <a
href="ActiveSupport/Inflector.html#method-i-constantize">ActiveSupport::Inflector#constantize</a></p>

<p>Examples</p>

<pre class="ruby"><span class="ruby-string">&quot;Module&quot;</span>.<span class="ruby-identifier">constantize</span>  <span class="ruby-comment"># =&gt; Module</span>
<span class="ruby-string">&quot;Class&quot;</span>.<span class="ruby-identifier">constantize</span>   <span class="ruby-comment"># =&gt; Class</span>
<span class="ruby-string">&quot;blargle&quot;</span>.<span class="ruby-identifier">constantize</span> <span class="ruby-comment"># =&gt; NameError: wrong constant name blargle</span>
</pre>
          

          
          <div class="method-source-code" id="constantize-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/inflections.rb, line 53</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">constantize</span>
  <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">Inflector</span>.<span class="ruby-identifier">constantize</span>(<span class="ruby-keyword">self</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- constantize-source -->
          
        </div>

        

        
      </div><!-- constantize-method -->

    
      <div id="method-i-dasherize" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">dasherize</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Replaces underscores with dashes in the string.</p>

<pre class="ruby"><span class="ruby-string">&quot;puni_puni&quot;</span> <span class="ruby-comment"># =&gt; &quot;puni-puni&quot;</span>
</pre>
          

          
          <div class="method-source-code" id="dasherize-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/inflections.rb, line 112</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">dasherize</span>
  <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">Inflector</span>.<span class="ruby-identifier">dasherize</span>(<span class="ruby-keyword">self</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- dasherize-source -->
          
        </div>

        

        
      </div><!-- dasherize-method -->

    
      <div id="method-i-deconstantize" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">deconstantize</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Removes the rightmost segment from the constant expression in the string.</p>

<pre class="ruby"><span class="ruby-string">&quot;Net::HTTP&quot;</span>.<span class="ruby-identifier">deconstantize</span>   <span class="ruby-comment"># =&gt; &quot;Net&quot;</span>
<span class="ruby-string">&quot;::Net::HTTP&quot;</span>.<span class="ruby-identifier">deconstantize</span> <span class="ruby-comment"># =&gt; &quot;::Net&quot;</span>
<span class="ruby-string">&quot;String&quot;</span>.<span class="ruby-identifier">deconstantize</span>      <span class="ruby-comment"># =&gt; &quot;&quot;</span>
<span class="ruby-string">&quot;::String&quot;</span>.<span class="ruby-identifier">deconstantize</span>    <span class="ruby-comment"># =&gt; &quot;&quot;</span>
<span class="ruby-string">&quot;&quot;</span>.<span class="ruby-identifier">deconstantize</span>            <span class="ruby-comment"># =&gt; &quot;&quot;</span>
</pre>

<p>See also <code>demodulize</code>.</p>
          

          
          <div class="method-source-code" id="deconstantize-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/inflections.rb, line 135</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">deconstantize</span>
  <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">Inflector</span>.<span class="ruby-identifier">deconstantize</span>(<span class="ruby-keyword">self</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- deconstantize-source -->
          
        </div>

        

        
      </div><!-- deconstantize-method -->

    
      <div id="method-i-demodulize" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">demodulize</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Removes the module part from the constant expression in the string.</p>

<pre class="ruby"><span class="ruby-string">&quot;ActiveRecord::CoreExtensions::String::Inflections&quot;</span>.<span class="ruby-identifier">demodulize</span> <span class="ruby-comment"># =&gt; &quot;Inflections&quot;</span>
<span class="ruby-string">&quot;Inflections&quot;</span>.<span class="ruby-identifier">demodulize</span>                                       <span class="ruby-comment"># =&gt; &quot;Inflections&quot;</span>
</pre>

<p>See also <code>deconstantize</code>.</p>
          

          
          <div class="method-source-code" id="demodulize-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/inflections.rb, line 122</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">demodulize</span>
  <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">Inflector</span>.<span class="ruby-identifier">demodulize</span>(<span class="ruby-keyword">self</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- demodulize-source -->
          
        </div>

        

        
      </div><!-- demodulize-method -->

    
      <div id="method-i-encode_json" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">encode_json</span><span
            class="method-args">(encoder)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
          <div class="method-source-code" id="encode_json-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/json/encoding.rb, line 177</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">encode_json</span>(<span class="ruby-identifier">encoder</span>) <span class="ruby-identifier">encoder</span>.<span class="ruby-identifier">escape</span>(<span class="ruby-keyword">self</span>) <span class="ruby-keyword">end</span></pre>
          </div><!-- encode_json-source -->
          
        </div>

        

        
      </div><!-- encode_json-method -->

    
      <div id="method-i-encoding_aware-3F" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">encoding_aware?</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
          <div class="method-source-code" id="encoding_aware-3F-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/encoding.rb, line 3</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">encoding_aware?</span>
  <span class="ruby-keyword">true</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- encoding_aware-3F-source -->
          
        </div>

        

        
      </div><!-- encoding_aware-3F-method -->

    
      <div id="method-i-exclude-3F" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">exclude?</span><span
            class="method-args">(string)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>The inverse of <code>String#include?</code>. Returns true if the string
does not include the other string.</p>

<pre class="ruby"><span class="ruby-string">&quot;hello&quot;</span>.<span class="ruby-identifier">exclude?</span> <span class="ruby-string">&quot;lo&quot;</span> <span class="ruby-comment">#=&gt; false</span>
<span class="ruby-string">&quot;hello&quot;</span>.<span class="ruby-identifier">exclude?</span> <span class="ruby-string">&quot;ol&quot;</span> <span class="ruby-comment">#=&gt; true</span>
<span class="ruby-string">&quot;hello&quot;</span>.<span class="ruby-identifier">exclude?</span> <span class="ruby-value">hh</span>   <span class="ruby-comment">#=&gt; false</span>
</pre>
          

          
          <div class="method-source-code" id="exclude-3F-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/exclude.rb, line 8</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">exclude?</span>(<span class="ruby-identifier">string</span>)
  <span class="ruby-operator">!</span><span class="ruby-identifier">include?</span>(<span class="ruby-identifier">string</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- exclude-3F-source -->
          
        </div>

        

        
      </div><!-- exclude-3F-method -->

    
      <div id="method-i-first" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">first</span><span
            class="method-args">(limit = 1)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Returns the first character of the string or the first <code>limit</code>
characters.</p>

<p>Examples:</p>

<pre class="ruby"><span class="ruby-string">&quot;hello&quot;</span>.<span class="ruby-identifier">first</span>     <span class="ruby-comment"># =&gt; &quot;h&quot;</span>
<span class="ruby-string">&quot;hello&quot;</span>.<span class="ruby-identifier">first</span>(<span class="ruby-value">2</span>)  <span class="ruby-comment"># =&gt; &quot;he&quot;</span>
<span class="ruby-string">&quot;hello&quot;</span>.<span class="ruby-identifier">first</span>(<span class="ruby-value">10</span>) <span class="ruby-comment"># =&gt; &quot;hello&quot;</span>
</pre>
          

          
          <div class="method-source-code" id="first-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/access.rb, line 41</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">first</span>(<span class="ruby-identifier">limit</span> = <span class="ruby-value">1</span>)
  <span class="ruby-keyword">if</span> <span class="ruby-identifier">limit</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
    <span class="ruby-string">''</span>
  <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">limit</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-identifier">size</span>
    <span class="ruby-keyword">self</span>
  <span class="ruby-keyword">else</span>
    <span class="ruby-identifier">mb_chars</span>[<span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-identifier">limit</span>].<span class="ruby-identifier">to_s</span>
  <span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- first-source -->
          
        </div>

        

        
      </div><!-- first-method -->

    
      <div id="method-i-foreign_key" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">foreign_key</span><span
            class="method-args">(separate_class_name_and_id_with_underscore = true)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Creates a foreign key name from a class name.
<code>separate_class_name_and_id_with_underscore</code> sets whether the
method should put ‘_’ between the name and ‘id’.</p>

<p>Examples</p>

<pre class="ruby"><span class="ruby-string">&quot;Message&quot;</span>.<span class="ruby-identifier">foreign_key</span>        <span class="ruby-comment"># =&gt; &quot;message_id&quot;</span>
<span class="ruby-string">&quot;Message&quot;</span>.<span class="ruby-identifier">foreign_key</span>(<span class="ruby-keyword">false</span>) <span class="ruby-comment"># =&gt; &quot;messageid&quot;</span>
<span class="ruby-string">&quot;Admin::Post&quot;</span>.<span class="ruby-identifier">foreign_key</span>    <span class="ruby-comment"># =&gt; &quot;post_id&quot;</span>
</pre>
          

          
          <div class="method-source-code" id="foreign_key-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/inflections.rb, line 199</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">foreign_key</span>(<span class="ruby-identifier">separate_class_name_and_id_with_underscore</span> = <span class="ruby-keyword">true</span>)
  <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">Inflector</span>.<span class="ruby-identifier">foreign_key</span>(<span class="ruby-keyword">self</span>, <span class="ruby-identifier">separate_class_name_and_id_with_underscore</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- foreign_key-source -->
          
        </div>

        

        
      </div><!-- foreign_key-method -->

    
      <div id="method-i-from" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">from</span><span
            class="method-args">(position)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Returns the remaining of the string from the <code>position</code> treating
the string as an array (where 0 is the first character).</p>

<p>Examples:</p>

<pre class="ruby"><span class="ruby-string">&quot;hello&quot;</span>.<span class="ruby-identifier">from</span>(<span class="ruby-value">0</span>)  <span class="ruby-comment"># =&gt; &quot;hello&quot;</span>
<span class="ruby-string">&quot;hello&quot;</span>.<span class="ruby-identifier">from</span>(<span class="ruby-value">2</span>)  <span class="ruby-comment"># =&gt; &quot;llo&quot;</span>
<span class="ruby-string">&quot;hello&quot;</span>.<span class="ruby-identifier">from</span>(<span class="ruby-value">10</span>) <span class="ruby-comment"># =&gt; &quot;&quot; if &lt; 1.9, nil in 1.9</span>
</pre>
          

          
          <div class="method-source-code" id="from-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/access.rb, line 21</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">from</span>(<span class="ruby-identifier">position</span>)
  <span class="ruby-identifier">mb_chars</span>[<span class="ruby-identifier">position</span><span class="ruby-operator">..</span><span class="ruby-value">-1</span>].<span class="ruby-identifier">to_s</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- from-source -->
          
        </div>

        

        
      </div><!-- from-method -->

    
      <div id="method-i-html_safe" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">html_safe</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
          <div class="method-source-code" id="html_safe-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/output_safety.rb, line 184</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">html_safe</span>
  <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">SafeBuffer</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- html_safe-source -->
          
        </div>

        

        
      </div><!-- html_safe-method -->

    
      <div id="method-i-humanize" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">humanize</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Capitalizes the first word, turns underscores into spaces, and strips
‘_id’. Like <code>titleize</code>, this is meant for creating pretty
output.</p>

<pre class="ruby"><span class="ruby-string">&quot;employee_salary&quot;</span> <span class="ruby-comment"># =&gt; &quot;Employee salary&quot;</span>
<span class="ruby-string">&quot;author_id&quot;</span>       <span class="ruby-comment"># =&gt; &quot;Author&quot;</span>
</pre>
          

          
          <div class="method-source-code" id="humanize-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/inflections.rb, line 187</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">humanize</span>
  <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">Inflector</span>.<span class="ruby-identifier">humanize</span>(<span class="ruby-keyword">self</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- humanize-source -->
          
        </div>

        

        
      </div><!-- humanize-method -->

    
      <div id="method-i-inquiry" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">inquiry</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Wraps the current string in the <code>ActiveSupport::StringInquirer</code>
class, which gives you a prettier way to test for equality. Example:</p>

<pre class="ruby"><span class="ruby-identifier">env</span> = <span class="ruby-string">&quot;production&quot;</span>.<span class="ruby-identifier">inquiry</span>
<span class="ruby-identifier">env</span>.<span class="ruby-identifier">production?</span>  <span class="ruby-comment"># =&gt; true</span>
<span class="ruby-identifier">env</span>.<span class="ruby-identifier">development?</span> <span class="ruby-comment"># =&gt; false</span>
</pre>
          

          
          <div class="method-source-code" id="inquiry-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/inquiry.rb, line 10</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">inquiry</span>
  <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">StringInquirer</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- inquiry-source -->
          
        </div>

        

        
      </div><!-- inquiry-method -->

    
      <div id="method-i-is_utf8-3F" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">is_utf8?</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
          <div class="method-source-code" id="is_utf8-3F-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/multibyte.rb, line 46</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">is_utf8?</span>
  <span class="ruby-keyword">case</span> <span class="ruby-identifier">encoding</span>
  <span class="ruby-keyword">when</span> <span class="ruby-constant">Encoding</span><span class="ruby-operator">::</span><span class="ruby-constant">UTF_8</span>
    <span class="ruby-identifier">valid_encoding?</span>
  <span class="ruby-keyword">when</span> <span class="ruby-constant">Encoding</span><span class="ruby-operator">::</span><span class="ruby-constant">ASCII_8BIT</span>, <span class="ruby-constant">Encoding</span><span class="ruby-operator">::</span><span class="ruby-constant">US_ASCII</span>
    <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">force_encoding</span>(<span class="ruby-constant">Encoding</span><span class="ruby-operator">::</span><span class="ruby-constant">UTF_8</span>).<span class="ruby-identifier">valid_encoding?</span>
  <span class="ruby-keyword">else</span>
    <span class="ruby-keyword">false</span>
  <span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- is_utf8-3F-source -->
          
        </div>

        

        
      </div><!-- is_utf8-3F-method -->

    
      <div id="method-i-last" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">last</span><span
            class="method-args">(limit = 1)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Returns the last character of the string or the last <code>limit</code>
characters.</p>

<p>Examples:</p>

<pre class="ruby"><span class="ruby-string">&quot;hello&quot;</span>.<span class="ruby-identifier">last</span>     <span class="ruby-comment"># =&gt; &quot;o&quot;</span>
<span class="ruby-string">&quot;hello&quot;</span>.<span class="ruby-identifier">last</span>(<span class="ruby-value">2</span>)  <span class="ruby-comment"># =&gt; &quot;lo&quot;</span>
<span class="ruby-string">&quot;hello&quot;</span>.<span class="ruby-identifier">last</span>(<span class="ruby-value">10</span>) <span class="ruby-comment"># =&gt; &quot;hello&quot;</span>
</pre>
          

          
          <div class="method-source-code" id="last-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/access.rb, line 57</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">last</span>(<span class="ruby-identifier">limit</span> = <span class="ruby-value">1</span>)
  <span class="ruby-keyword">if</span> <span class="ruby-identifier">limit</span> <span class="ruby-operator">==</span> <span class="ruby-value">0</span>
    <span class="ruby-string">''</span>
  <span class="ruby-keyword">elsif</span> <span class="ruby-identifier">limit</span> <span class="ruby-operator">&gt;=</span> <span class="ruby-identifier">size</span>
    <span class="ruby-keyword">self</span>
  <span class="ruby-keyword">else</span>
    <span class="ruby-identifier">mb_chars</span>[(<span class="ruby-operator">-</span><span class="ruby-identifier">limit</span>)<span class="ruby-operator">..</span><span class="ruby-value">-1</span>].<span class="ruby-identifier">to_s</span>
  <span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- last-source -->
          
        </div>

        

        
      </div><!-- last-method -->

    
      <div id="method-i-mb_chars" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">mb_chars</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <h2 id="method-i-mb_chars-label-Multibyte+proxy">Multibyte proxy</h2>

<p><code>mb_chars</code> is a multibyte safe proxy for string methods.</p>

<p>In Ruby 1.8 and older it creates and returns an instance of the <a
href="ActiveSupport/Multibyte/Chars.html">ActiveSupport::Multibyte::Chars</a>
class which encapsulates the original string. A Unicode safe version of all
the <a href="String.html">String</a> methods are defined on this proxy
class. If the proxy class doesn’t respond to a certain method, it’s
forwarded to the encapsulated string.</p>

<pre class="ruby"><span class="ruby-identifier">name</span> = <span class="ruby-string">'Claus Müller'</span>
<span class="ruby-identifier">name</span>.<span class="ruby-identifier">reverse</span> <span class="ruby-comment"># =&gt; &quot;rell??M sualC&quot;</span>
<span class="ruby-identifier">name</span>.<span class="ruby-identifier">length</span>  <span class="ruby-comment"># =&gt; 13</span>

<span class="ruby-identifier">name</span>.<span class="ruby-identifier">mb_chars</span>.<span class="ruby-identifier">reverse</span>.<span class="ruby-identifier">to_s</span> <span class="ruby-comment"># =&gt; &quot;rellüM sualC&quot;</span>
<span class="ruby-identifier">name</span>.<span class="ruby-identifier">mb_chars</span>.<span class="ruby-identifier">length</span>       <span class="ruby-comment"># =&gt; 12</span>
</pre>

<p>In Ruby 1.9 and newer <code>mb_chars</code> returns <code>self</code>
because <a href="String.html">String</a> is (mostly) encoding aware. This
means that it becomes easy to run one version of your code on multiple Ruby
versions.</p>

<h2 id="method-i-mb_chars-label-Method+chaining">Method chaining</h2>

<p>All the methods on the Chars proxy which normally return a string will
return a Chars object. This allows method chaining on the result of any of
these methods.</p>

<pre class="ruby"><span class="ruby-identifier">name</span>.<span class="ruby-identifier">mb_chars</span>.<span class="ruby-identifier">reverse</span>.<span class="ruby-identifier">length</span> <span class="ruby-comment"># =&gt; 12</span>
</pre>

<h2 id="method-i-mb_chars-label-Interoperability+and+configuration">Interoperability and configuration</h2>

<p>The Chars object tries to be as interchangeable with <a
href="String.html">String</a> objects as possible: sorting and comparing
between <a href="String.html">String</a> and Char work like expected. The
bang! methods change the internal string representation in the Chars
object. Interoperability problems can be resolved easily with a
<code>to_s</code> call.</p>

<p>For more information about the methods defined on the Chars proxy see <a
href="ActiveSupport/Multibyte/Chars.html">ActiveSupport::Multibyte::Chars</a>.
For information about how to change the default Multibyte behavior see <a
href="ActiveSupport/Multibyte.html">ActiveSupport::Multibyte</a>.</p>
          

          
          <div class="method-source-code" id="mb_chars-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/multibyte.rb, line 38</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">mb_chars</span>
  <span class="ruby-keyword">if</span> <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">Multibyte</span>.<span class="ruby-identifier">proxy_class</span>.<span class="ruby-identifier">consumes?</span>(<span class="ruby-keyword">self</span>)
    <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">Multibyte</span>.<span class="ruby-identifier">proxy_class</span>.<span class="ruby-identifier">new</span>(<span class="ruby-keyword">self</span>)
  <span class="ruby-keyword">else</span>
    <span class="ruby-keyword">self</span>
  <span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- mb_chars-source -->
          
        </div>

        

        
      </div><!-- mb_chars-method -->

    
      <div id="method-i-ord" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">ord</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Returns the codepoint of the first character of the string, assuming a
single-byte character encoding:</p>

<pre class="ruby"><span class="ruby-string">&quot;a&quot;</span>.<span class="ruby-identifier">ord</span> <span class="ruby-comment"># =&gt; 97</span>
<span class="ruby-string">&quot;à&quot;</span>.<span class="ruby-identifier">ord</span> <span class="ruby-comment"># =&gt; 224, in ISO-8859-1</span>
</pre>

<p>This method is defined in Ruby 1.8 for Ruby 1.9 forward compatibility on
these character encodings.</p>

<p><code>ActiveSupport::Multibyte::Chars#ord</code> is forward compatible with
Ruby 1.9 on UTF8 strings:</p>

<pre class="ruby"><span class="ruby-string">&quot;a&quot;</span>.<span class="ruby-identifier">mb_chars</span>.<span class="ruby-identifier">ord</span> <span class="ruby-comment"># =&gt; 97</span>
<span class="ruby-string">&quot;à&quot;</span>.<span class="ruby-identifier">mb_chars</span>.<span class="ruby-identifier">ord</span> <span class="ruby-comment"># =&gt; 224, in UTF8</span>
</pre>

<p>Note that the 224 is different in both examples. In ISO-8859-1 “à” is
represented as a single byte, 224. In UTF8 it is represented with two
bytes, namely 195 and 160, but its Unicode codepoint is 224. If we call
<code>ord</code> on the UTF8 string “à” the return value will be 195. That
is not an error, because UTF8 is unsupported, the call itself would be
bogus.</p>
          

          
          <div class="method-source-code" id="ord-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/conversions.rb, line 27</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">ord</span>
  <span class="ruby-keyword">self</span>[<span class="ruby-value">0</span>]
<span class="ruby-keyword">end</span></pre>
          </div><!-- ord-source -->
          
        </div>

        

        
      </div><!-- ord-method -->

    
      <div id="method-i-parameterize" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">parameterize</span><span
            class="method-args">(sep = '-')</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Replaces special characters in a string so that it may be used as part of a
‘pretty’ URL.</p>

<h4 id="method-i-parameterize-label-Examples">Examples</h4>

<pre>class Person
  def to_param
    &quot;#{id}-#{name.parameterize}&quot;
  end
end

@person = Person.find(1)
# =&gt; #&lt;Person id: 1, name: &quot;Donald E. Knuth&quot;&gt;

&lt;%= link_to(@person.name, person_path %&gt;
# =&gt; &lt;a href=&quot;/person/1-donald-e-knuth&quot;&gt;Donald E. Knuth&lt;/a&gt;</pre>
          

          
          <div class="method-source-code" id="parameterize-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/inflections.rb, line 154</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">parameterize</span>(<span class="ruby-identifier">sep</span> = <span class="ruby-string">'-'</span>)
  <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">Inflector</span>.<span class="ruby-identifier">parameterize</span>(<span class="ruby-keyword">self</span>, <span class="ruby-identifier">sep</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- parameterize-source -->
          
        </div>

        

        
      </div><!-- parameterize-method -->

    
      <div id="method-i-pluralize" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">pluralize</span><span
            class="method-args">(count = nil)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Returns the plural form of the word in the string.</p>

<p>If the optional parameter <code>count</code> is specified, the singular
form will be returned if <code>count == 1</code>. For any other value of
<code>count</code> the plural will be returned.</p>

<h4 id="method-i-pluralize-label-Examples">Examples</h4>

<pre class="ruby"><span class="ruby-string">&quot;post&quot;</span>.<span class="ruby-identifier">pluralize</span>             <span class="ruby-comment"># =&gt; &quot;posts&quot;</span>
<span class="ruby-string">&quot;octopus&quot;</span>.<span class="ruby-identifier">pluralize</span>          <span class="ruby-comment"># =&gt; &quot;octopi&quot;</span>
<span class="ruby-string">&quot;sheep&quot;</span>.<span class="ruby-identifier">pluralize</span>            <span class="ruby-comment"># =&gt; &quot;sheep&quot;</span>
<span class="ruby-string">&quot;words&quot;</span>.<span class="ruby-identifier">pluralize</span>            <span class="ruby-comment"># =&gt; &quot;words&quot;</span>
<span class="ruby-string">&quot;the blue mailman&quot;</span>.<span class="ruby-identifier">pluralize</span> <span class="ruby-comment"># =&gt; &quot;the blue mailmen&quot;</span>
<span class="ruby-string">&quot;CamelOctopus&quot;</span>.<span class="ruby-identifier">pluralize</span>     <span class="ruby-comment"># =&gt; &quot;CamelOctopi&quot;</span>
<span class="ruby-string">&quot;apple&quot;</span>.<span class="ruby-identifier">pluralize</span>(<span class="ruby-value">1</span>)         <span class="ruby-comment"># =&gt; &quot;apple&quot;</span>
<span class="ruby-string">&quot;apple&quot;</span>.<span class="ruby-identifier">pluralize</span>(<span class="ruby-value">2</span>)         <span class="ruby-comment"># =&gt; &quot;apples&quot;</span>
</pre>
          

          
          <div class="method-source-code" id="pluralize-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/inflections.rb, line 25</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">pluralize</span>(<span class="ruby-identifier">count</span> = <span class="ruby-keyword">nil</span>)
  <span class="ruby-keyword">if</span> <span class="ruby-identifier">count</span> <span class="ruby-operator">==</span> <span class="ruby-value">1</span>
    <span class="ruby-keyword">self</span>
  <span class="ruby-keyword">else</span>
    <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">Inflector</span>.<span class="ruby-identifier">pluralize</span>(<span class="ruby-keyword">self</span>)
  <span class="ruby-keyword">end</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- pluralize-source -->
          
        </div>

        

        
      </div><!-- pluralize-method -->

    
      <div id="method-i-safe_constantize" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">safe_constantize</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p><code>safe_constantize</code> tries to find a declared constant with the
name specified in the string. It returns nil when the name is not in
CamelCase or is not initialized.  See <a
href="ActiveSupport/Inflector.html#method-i-safe_constantize">ActiveSupport::Inflector#safe_constantize</a></p>

<p>Examples</p>

<pre class="ruby"><span class="ruby-string">&quot;Module&quot;</span>.<span class="ruby-identifier">safe_constantize</span>  <span class="ruby-comment"># =&gt; Module</span>
<span class="ruby-string">&quot;Class&quot;</span>.<span class="ruby-identifier">safe_constantize</span>   <span class="ruby-comment"># =&gt; Class</span>
<span class="ruby-string">&quot;blargle&quot;</span>.<span class="ruby-identifier">safe_constantize</span> <span class="ruby-comment"># =&gt; nil</span>
</pre>
          

          
          <div class="method-source-code" id="safe_constantize-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/inflections.rb, line 65</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">safe_constantize</span>
  <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">Inflector</span>.<span class="ruby-identifier">safe_constantize</span>(<span class="ruby-keyword">self</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- safe_constantize-source -->
          
        </div>

        

        
      </div><!-- safe_constantize-method -->

    
      <div id="method-i-singularize" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">singularize</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>The reverse of <code>pluralize</code>, returns the singular form of a word
in a string.</p>

<pre class="ruby"><span class="ruby-string">&quot;posts&quot;</span>.<span class="ruby-identifier">singularize</span>            <span class="ruby-comment"># =&gt; &quot;post&quot;</span>
<span class="ruby-string">&quot;octopi&quot;</span>.<span class="ruby-identifier">singularize</span>           <span class="ruby-comment"># =&gt; &quot;octopus&quot;</span>
<span class="ruby-string">&quot;sheep&quot;</span>.<span class="ruby-identifier">singularize</span>            <span class="ruby-comment"># =&gt; &quot;sheep&quot;</span>
<span class="ruby-string">&quot;word&quot;</span>.<span class="ruby-identifier">singularize</span>             <span class="ruby-comment"># =&gt; &quot;word&quot;</span>
<span class="ruby-string">&quot;the blue mailmen&quot;</span>.<span class="ruby-identifier">singularize</span> <span class="ruby-comment"># =&gt; &quot;the blue mailman&quot;</span>
<span class="ruby-string">&quot;CamelOctopi&quot;</span>.<span class="ruby-identifier">singularize</span>      <span class="ruby-comment"># =&gt; &quot;CamelOctopus&quot;</span>
</pre>
          

          
          <div class="method-source-code" id="singularize-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/inflections.rb, line 41</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">singularize</span>
  <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">Inflector</span>.<span class="ruby-identifier">singularize</span>(<span class="ruby-keyword">self</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- singularize-source -->
          
        </div>

        

        
      </div><!-- singularize-method -->

    
      <div id="method-i-squish" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">squish</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Returns the string, first removing all whitespace on both ends of the
string, and then changing remaining consecutive whitespace groups into one
space each.</p>

<p>Examples:</p>

<pre class="ruby"><span class="ruby-string">%Q{ Multi-line
   string }</span>.<span class="ruby-identifier">squish</span>                   <span class="ruby-comment"># =&gt; &quot;Multi-line string&quot;</span>
<span class="ruby-string">&quot; foo   bar    \n   \t   boo&quot;</span>.<span class="ruby-identifier">squish</span> <span class="ruby-comment"># =&gt; &quot;foo bar boo&quot;</span>
</pre>
          

          
          <div class="method-source-code" id="squish-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/filters.rb, line 12</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">squish</span>
  <span class="ruby-identifier">dup</span>.<span class="ruby-identifier">squish!</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- squish-source -->
          
        </div>

        

        
      </div><!-- squish-method -->

    
      <div id="method-i-squish-21" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">squish!</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Performs a destructive squish. See <a
href="String.html#method-i-squish">#squish</a>.</p>
          

          
          <div class="method-source-code" id="squish-21-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/filters.rb, line 17</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">squish!</span>
  <span class="ruby-identifier">strip!</span>
  <span class="ruby-identifier">gsub!</span>(<span class="ruby-regexp">%r\s+/</span>, <span class="ruby-string">' '</span>)
  <span class="ruby-keyword">self</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- squish-21-source -->
          
        </div>

        

        
      </div><!-- squish-21-method -->

    
      <div id="method-i-strip_heredoc" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">strip_heredoc</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Strips indentation in heredocs.</p>

<p>For example in</p>

<pre>if options[:usage]
  puts &lt;&lt;-USAGE.strip_heredoc
    This command does such and such.

    Supported options are:
      -h         This message
      ...
  USAGE
end</pre>

<p>the user would see the usage message aligned against the left margin.</p>

<p>Technically, it looks for the least indented line in the whole string, and
removes that amount of leading whitespace.</p>
          

          
          <div class="method-source-code" id="strip_heredoc-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/strip.rb, line 22</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">strip_heredoc</span>
  <span class="ruby-identifier">indent</span> = <span class="ruby-identifier">scan</span>(<span class="ruby-regexp">%r^[ \t]*(?=\S)/</span>).<span class="ruby-identifier">min</span>.<span class="ruby-identifier">try</span>(<span class="ruby-value">:size</span>) <span class="ruby-operator">||</span> <span class="ruby-value">0</span>
  <span class="ruby-identifier">gsub</span>(<span class="ruby-node">%r^[ \t]{#{indent}}/</span>, <span class="ruby-string">''</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- strip_heredoc-source -->
          
        </div>

        

        
      </div><!-- strip_heredoc-method -->

    
      <div id="method-i-tableize" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">tableize</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Creates the name of a table like <a href="Rails.html">Rails</a> does for
models to table names. This method uses the <code>pluralize</code> method
on the last word in the string.</p>

<pre class="ruby"><span class="ruby-string">&quot;RawScaledScorer&quot;</span>.<span class="ruby-identifier">tableize</span> <span class="ruby-comment"># =&gt; &quot;raw_scaled_scorers&quot;</span>
<span class="ruby-string">&quot;egg_and_ham&quot;</span>.<span class="ruby-identifier">tableize</span>     <span class="ruby-comment"># =&gt; &quot;egg_and_hams&quot;</span>
<span class="ruby-string">&quot;fancyCategory&quot;</span>.<span class="ruby-identifier">tableize</span>   <span class="ruby-comment"># =&gt; &quot;fancy_categories&quot;</span>
</pre>
          

          
          <div class="method-source-code" id="tableize-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/inflections.rb, line 164</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">tableize</span>
  <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">Inflector</span>.<span class="ruby-identifier">tableize</span>(<span class="ruby-keyword">self</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- tableize-source -->
          
        </div>

        

        
      </div><!-- tableize-method -->

    
      <div id="method-i-titlecase" class="method-detail method-alias">
        
        <div class="method-heading">
          <span class="method-name">titlecase</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          
          

          
        </div>

        

        
        <div class="aliases">
          Alias for: <a href="String.html#method-i-titleize">titleize</a>
        </div>
        
      </div><!-- titlecase-method -->

    
      <div id="method-i-titleize" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">titleize</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Capitalizes all the words and replaces some characters in the string to
create a nicer looking title. <code>titleize</code> is meant for creating
pretty output. It is not used in the <a href="Rails.html">Rails</a>
internals.</p>

<p><code>titleize</code> is also aliased as <code>titlecase</code>.</p>

<pre class="ruby"><span class="ruby-string">&quot;man from the boondocks&quot;</span>.<span class="ruby-identifier">titleize</span> <span class="ruby-comment"># =&gt; &quot;Man From The Boondocks&quot;</span>
<span class="ruby-string">&quot;x-men: the last stand&quot;</span>.<span class="ruby-identifier">titleize</span>  <span class="ruby-comment"># =&gt; &quot;X Men: The Last Stand&quot;</span>
</pre>
          

          
          <div class="method-source-code" id="titleize-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/inflections.rb, line 94</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">titleize</span>
  <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">Inflector</span>.<span class="ruby-identifier">titleize</span>(<span class="ruby-keyword">self</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- titleize-source -->
          
        </div>

        
        <div class="aliases">
          Also aliased as: <a href="String.html#method-i-titlecase">titlecase</a>
        </div>
        

        
      </div><!-- titleize-method -->

    
      <div id="method-i-to" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">to</span><span
            class="method-args">(position)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Returns the beginning of the string up to the <code>position</code>
treating the string as an array (where 0 is the first character).</p>

<p>Examples:</p>

<pre class="ruby"><span class="ruby-string">&quot;hello&quot;</span>.<span class="ruby-identifier">to</span>(<span class="ruby-value">0</span>)  <span class="ruby-comment"># =&gt; &quot;h&quot;</span>
<span class="ruby-string">&quot;hello&quot;</span>.<span class="ruby-identifier">to</span>(<span class="ruby-value">2</span>)  <span class="ruby-comment"># =&gt; &quot;hel&quot;</span>
<span class="ruby-string">&quot;hello&quot;</span>.<span class="ruby-identifier">to</span>(<span class="ruby-value">10</span>) <span class="ruby-comment"># =&gt; &quot;hello&quot;</span>
</pre>
          

          
          <div class="method-source-code" id="to-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/access.rb, line 31</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to</span>(<span class="ruby-identifier">position</span>)
  <span class="ruby-identifier">mb_chars</span>[<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-identifier">position</span>].<span class="ruby-identifier">to_s</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- to-source -->
          
        </div>

        

        
      </div><!-- to-method -->

    
      <div id="method-i-to_date" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">to_date</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Converts a string to a <a href="Date.html">Date</a> value.</p>

<pre class="ruby"><span class="ruby-string">&quot;1-1-2012&quot;</span>.<span class="ruby-identifier">to_date</span>   <span class="ruby-comment">#=&gt; Sun, 01 Jan 2012</span>
<span class="ruby-string">&quot;01/01/2012&quot;</span>.<span class="ruby-identifier">to_date</span> <span class="ruby-comment">#=&gt; Sun, 01 Jan 2012</span>
<span class="ruby-string">&quot;2012-12-13&quot;</span>.<span class="ruby-identifier">to_date</span> <span class="ruby-comment">#=&gt; Thu, 13 Dec 2012</span>
<span class="ruby-string">&quot;12/13/2012&quot;</span>.<span class="ruby-identifier">to_date</span> <span class="ruby-comment">#=&gt; ArgumentError: invalid date</span>
</pre>
          

          
          <div class="method-source-code" id="to_date-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/conversions.rb, line 48</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_date</span>
  <span class="ruby-keyword">return</span> <span class="ruby-keyword">nil</span> <span class="ruby-keyword">if</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">blank?</span>
  <span class="ruby-operator">::</span><span class="ruby-constant">Date</span>.<span class="ruby-identifier">new</span>(*<span class="ruby-operator">::</span><span class="ruby-constant">Date</span>.<span class="ruby-identifier">_parse</span>(<span class="ruby-keyword">self</span>, <span class="ruby-keyword">false</span>).<span class="ruby-identifier">values_at</span>(<span class="ruby-value">:year</span>, <span class="ruby-value">:mon</span>, <span class="ruby-value">:mday</span>))
<span class="ruby-keyword">end</span></pre>
          </div><!-- to_date-source -->
          
        </div>

        

        
      </div><!-- to_date-method -->

    
      <div id="method-i-to_datetime" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">to_datetime</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Converts a string to a <a href="DateTime.html">DateTime</a> value.</p>

<pre class="ruby"><span class="ruby-string">&quot;1-1-2012&quot;</span>.<span class="ruby-identifier">to_datetime</span>            <span class="ruby-comment">#=&gt; Sun, 01 Jan 2012 00:00:00 +0000</span>
<span class="ruby-string">&quot;01/01/2012 23:59:59&quot;</span>.<span class="ruby-identifier">to_datetime</span> <span class="ruby-comment">#=&gt; Sun, 01 Jan 2012 23:59:59 +0000</span>
<span class="ruby-string">&quot;2012-12-13 12:50&quot;</span>.<span class="ruby-identifier">to_datetime</span>    <span class="ruby-comment">#=&gt; Thu, 13 Dec 2012 12:50:00 +0000</span>
<span class="ruby-string">&quot;12/13/2012&quot;</span>.<span class="ruby-identifier">to_datetime</span>          <span class="ruby-comment">#=&gt; ArgumentError: invalid date</span>
</pre>
          

          
          <div class="method-source-code" id="to_datetime-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/conversions.rb, line 59</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_datetime</span>
  <span class="ruby-keyword">return</span> <span class="ruby-keyword">nil</span> <span class="ruby-keyword">if</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">blank?</span>
  <span class="ruby-identifier">d</span> = <span class="ruby-operator">::</span><span class="ruby-constant">Date</span>.<span class="ruby-identifier">_parse</span>(<span class="ruby-keyword">self</span>, <span class="ruby-keyword">false</span>).<span class="ruby-identifier">values_at</span>(<span class="ruby-value">:year</span>, <span class="ruby-value">:mon</span>, <span class="ruby-value">:mday</span>, <span class="ruby-value">:hour</span>, <span class="ruby-value">:min</span>, <span class="ruby-value">:sec</span>, <span class="ruby-value">:zone</span>, <span class="ruby-value">:sec_fraction</span>).<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">arg</span><span class="ruby-operator">|</span> <span class="ruby-identifier">arg</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span> }
  <span class="ruby-identifier">d</span>[<span class="ruby-value">5</span>] <span class="ruby-operator">+=</span> <span class="ruby-identifier">d</span>.<span class="ruby-identifier">pop</span>
  <span class="ruby-operator">::</span><span class="ruby-constant">DateTime</span>.<span class="ruby-identifier">civil</span>(*<span class="ruby-identifier">d</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- to_datetime-source -->
          
        </div>

        

        
      </div><!-- to_datetime-method -->

    
      <div id="method-i-to_time" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">to_time</span><span
            class="method-args">(form = :utc)</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Form can be either :utc (default) or :local.</p>
          

          
          <div class="method-source-code" id="to_time-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/conversions.rb, line 35</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">to_time</span>(<span class="ruby-identifier">form</span> = <span class="ruby-value">:utc</span>)
  <span class="ruby-keyword">return</span> <span class="ruby-keyword">nil</span> <span class="ruby-keyword">if</span> <span class="ruby-keyword">self</span>.<span class="ruby-identifier">blank?</span>
  <span class="ruby-identifier">d</span> = <span class="ruby-operator">::</span><span class="ruby-constant">Date</span>.<span class="ruby-identifier">_parse</span>(<span class="ruby-keyword">self</span>, <span class="ruby-keyword">false</span>).<span class="ruby-identifier">values_at</span>(<span class="ruby-value">:year</span>, <span class="ruby-value">:mon</span>, <span class="ruby-value">:mday</span>, <span class="ruby-value">:hour</span>, <span class="ruby-value">:min</span>, <span class="ruby-value">:sec</span>, <span class="ruby-value">:sec_fraction</span>, <span class="ruby-value">:offset</span>).<span class="ruby-identifier">map</span> { <span class="ruby-operator">|</span><span class="ruby-identifier">arg</span><span class="ruby-operator">|</span> <span class="ruby-identifier">arg</span> <span class="ruby-operator">||</span> <span class="ruby-value">0</span> }
  <span class="ruby-identifier">d</span>[<span class="ruby-value">6</span>] <span class="ruby-operator">*=</span> <span class="ruby-value">1000000</span>
  <span class="ruby-operator">::</span><span class="ruby-constant">Time</span>.<span class="ruby-identifier">send</span>(<span class="ruby-node">&quot;#{form}_time&quot;</span>, *<span class="ruby-identifier">d</span>[<span class="ruby-value">0</span><span class="ruby-operator">..</span><span class="ruby-value">6</span>]) <span class="ruby-operator">-</span> <span class="ruby-identifier">d</span>[<span class="ruby-value">7</span>]
<span class="ruby-keyword">end</span></pre>
          </div><!-- to_time-source -->
          
        </div>

        

        
      </div><!-- to_time-method -->

    
      <div id="method-i-truncate" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">truncate</span><span
            class="method-args">(length, options = {})</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>Truncates a given <code>text</code> after a given <code>length</code> if
<code>text</code> is longer than <code>length</code>:</p>

<pre class="ruby"><span class="ruby-string">&quot;Once upon a time in a world far far away&quot;</span>.<span class="ruby-identifier">truncate</span>(<span class="ruby-value">27</span>)
<span class="ruby-comment"># =&gt; &quot;Once upon a time in a wo...&quot;</span>
</pre>

<p>Pass a <code>:separator</code> to truncate <code>text</code> at a natural
break:</p>

<pre class="ruby"><span class="ruby-string">&quot;Once upon a time in a world far far away&quot;</span>.<span class="ruby-identifier">truncate</span>(<span class="ruby-value">27</span>, :<span class="ruby-identifier">separator</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">' '</span>)
<span class="ruby-comment"># =&gt; &quot;Once upon a time in a...&quot;</span>
</pre>

<p>The last characters will be replaced with the <code>:omission</code> string
(defaults to “…”) for a total length not exceeding <code>:length</code>:</p>

<pre class="ruby"><span class="ruby-string">&quot;And they found that many people were sleeping better.&quot;</span>.<span class="ruby-identifier">truncate</span>(<span class="ruby-value">25</span>, :<span class="ruby-identifier">omission</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">&quot;... (continued)&quot;</span>)
<span class="ruby-comment"># =&gt; &quot;And they f... (continued)&quot;</span>
</pre>
          

          
          <div class="method-source-code" id="truncate-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/filters.rb, line 38</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">truncate</span>(<span class="ruby-identifier">length</span>, <span class="ruby-identifier">options</span> = {})
  <span class="ruby-identifier">text</span> = <span class="ruby-keyword">self</span>.<span class="ruby-identifier">dup</span>
  <span class="ruby-identifier">options</span>[<span class="ruby-value">:omission</span>] <span class="ruby-operator">||=</span> <span class="ruby-string">&quot;...&quot;</span>

  <span class="ruby-identifier">length_with_room_for_omission</span> = <span class="ruby-identifier">length</span> <span class="ruby-operator">-</span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:omission</span>].<span class="ruby-identifier">mb_chars</span>.<span class="ruby-identifier">length</span>
  <span class="ruby-identifier">chars</span> = <span class="ruby-identifier">text</span>.<span class="ruby-identifier">mb_chars</span>
  <span class="ruby-identifier">stop</span> = <span class="ruby-identifier">options</span>[<span class="ruby-value">:separator</span>] <span class="ruby-operator">?</span>
    (<span class="ruby-identifier">chars</span>.<span class="ruby-identifier">rindex</span>(<span class="ruby-identifier">options</span>[<span class="ruby-value">:separator</span>].<span class="ruby-identifier">mb_chars</span>, <span class="ruby-identifier">length_with_room_for_omission</span>) <span class="ruby-operator">||</span> <span class="ruby-identifier">length_with_room_for_omission</span>) <span class="ruby-operator">:</span> <span class="ruby-identifier">length_with_room_for_omission</span>

  (<span class="ruby-identifier">chars</span>.<span class="ruby-identifier">length</span> <span class="ruby-operator">&gt;</span> <span class="ruby-identifier">length</span> <span class="ruby-operator">?</span> <span class="ruby-identifier">chars</span>[<span class="ruby-value">0</span><span class="ruby-operator">...</span><span class="ruby-identifier">stop</span>] <span class="ruby-operator">+</span> <span class="ruby-identifier">options</span>[<span class="ruby-value">:omission</span>] <span class="ruby-operator">:</span> <span class="ruby-identifier">text</span>).<span class="ruby-identifier">to_s</span>
<span class="ruby-keyword">end</span></pre>
          </div><!-- truncate-source -->
          
        </div>

        

        
      </div><!-- truncate-method -->

    
      <div id="method-i-underscore" class="method-detail ">
        
        <div class="method-heading">
          <span class="method-name">underscore</span><span
            class="method-args">()</span>
          <span class="method-click-advice">click to toggle source</span>
        </div>
        

        <div class="method-description">
          
          <p>The reverse of <code>camelize</code>. Makes an underscored, lowercase form
from the expression in the string.</p>

<p><code>underscore</code> will also change '::' to '/' to convert namespaces
to paths.</p>

<pre class="ruby"><span class="ruby-string">&quot;ActiveModel&quot;</span>.<span class="ruby-identifier">underscore</span>         <span class="ruby-comment"># =&gt; &quot;active_model&quot;</span>
<span class="ruby-string">&quot;ActiveModel::Errors&quot;</span>.<span class="ruby-identifier">underscore</span> <span class="ruby-comment"># =&gt; &quot;active_model/errors&quot;</span>
</pre>
          

          
          <div class="method-source-code" id="underscore-source">
            <pre><span class="ruby-comment"># File /usr/local/lib/ruby/gems/1.9.1/gems/activesupport-3.2.7/lib/active_support/core_ext/string/inflections.rb, line 105</span>
<span class="ruby-keyword">def</span> <span class="ruby-identifier">underscore</span>
  <span class="ruby-constant">ActiveSupport</span><span class="ruby-operator">::</span><span class="ruby-constant">Inflector</span>.<span class="ruby-identifier">underscore</span>(<span class="ruby-keyword">self</span>)
<span class="ruby-keyword">end</span></pre>
          </div><!-- underscore-source -->
          
        </div>

        

        
      </div><!-- underscore-method -->

    
    </section><!-- public-instance-method-details -->
  
  </section><!-- 5Buntitled-5D -->

</div><!-- documentation -->


<footer id="validator-badges">
  <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
  <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
  <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
</footer>

